mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Changed structure for building a package and added setup.py
This commit is contained in:
16
.gitignore
vendored
16
.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
venv/
|
||||
/for_tests.py
|
||||
/f_test.py
|
||||
/develop_tests/
|
||||
logs/*
|
||||
/config/connected_devices.json
|
||||
/storage/data/
|
||||
/.idea/
|
||||
thingsboard_gateway/venv/
|
||||
thingsboard_gateway/for_tests.py
|
||||
thingsboard_gateway/f_test.py
|
||||
thingsboard_gateway/develop_tests/
|
||||
thingsboard_gateway/logs/*
|
||||
thingsboard_gateway/config/connected_devices.json
|
||||
thingsboard_gateway/storage/data/
|
||||
.idea/
|
||||
|
||||
38
setup.py
Normal file
38
setup.py
Normal file
@@ -0,0 +1,38 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='thingsboard_gateway',
|
||||
version='1.0.0',
|
||||
packages=['thingsboard_gateway', 'thingsboard_gateway.gateway', 'thingsboard_gateway.storage',
|
||||
'thingsboard_gateway.tb_client', 'thingsboard_gateway.connectors', 'thingsboard_gateway.connectors.ble',
|
||||
'thingsboard_gateway.connectors.mqtt', 'thingsboard_gateway.connectors.opcua',
|
||||
'thingsboard_gateway.connectors.modbus', 'thingsboard_gateway.tb_utility'],
|
||||
url='https://thingsboard.io',
|
||||
license='Apache Software License (Apache Software License 2.0)',
|
||||
author='ThingsBoard',
|
||||
author_email='info@thingsboard.io',
|
||||
description='The Thingsboard IoT Gateway is an open-source solution that allows you to integrate devices connected to legacy and third-party systems with Thingsboard.',
|
||||
include_package_data=True,
|
||||
package_data={'thingsboard_gateway': ['config/*']},
|
||||
install_requires=[
|
||||
'attrs>=19.2.0',
|
||||
'cffi>=1.0.0',
|
||||
'cryptography>=2.4',
|
||||
'jsonpath-rw>=1.3.0',
|
||||
'jsonpath-rw-ext>=1.1.2',
|
||||
'jsonschema==3.1.1',
|
||||
'lxml>=4.3.1',
|
||||
'opcua>=0.9',
|
||||
'paho-mqtt>=1.3.0',
|
||||
'pymodbus>=2.1.0',
|
||||
'pyserial>=3.2',
|
||||
'pytz',
|
||||
'PyYAML>=5.0.2',
|
||||
'six>=1.0.0'
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'thingsboard-gateway = thingsboard_gateway.thingsboard_gateway:daemon'
|
||||
]
|
||||
}
|
||||
)
|
||||
BIN
thingsboard_gateway/__pycache__/__init__.cpython-37.pyc
Normal file
BIN
thingsboard_gateway/__pycache__/__init__.cpython-37.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
thingsboard_gateway/gateway/__pycache__/__init__.cpython-37.pyc
Normal file
BIN
thingsboard_gateway/gateway/__pycache__/__init__.cpython-37.pyc
Normal file
Binary file not shown.
BIN
thingsboard_gateway/gateway/__pycache__/tb_client.cpython-37.pyc
Normal file
BIN
thingsboard_gateway/gateway/__pycache__/tb_client.cpython-37.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
thingsboard_gateway/storage/__pycache__/__init__.cpython-37.pyc
Normal file
BIN
thingsboard_gateway/storage/__pycache__/__init__.cpython-37.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user