forked from tjhowse/modbus4mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (37 loc) · 1.15 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import setuptools
from modbus4mqtt.version import version
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="modbus4mqtt",
version=version,
author="Travis Howse",
author_email="tjhowse@gmail.com",
description="A YAML-defined bidirectional Modbus to MQTT interface",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/tjhowse/modbus4mqtt",
packages=setuptools.find_packages(exclude=['tests']),
install_requires=[
'ruamel.yaml>=0.16.12',
'paho-mqtt>=1.5.0',
'pymodbus>=2.3.0,<3.0.0',
'click>=6.7',
'SungrowModbusTcpClient>=0.1.6',
],
tests_require=[
'nose2>=0.9.2',
'nose2[coverage_plugin]>=0.6.5',
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.5.0',
test_suite='nose2.collector.collector',
entry_points='''
[console_scripts]
modbus4mqtt=modbus4mqtt.modbus4mqtt:main
''',
)