forked from mhvis/solar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·37 lines (35 loc) · 1.07 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
#!/usr/bin/env python
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="samil",
version="2.2.3",
author="Maarten Visscher",
description="Samil Power inverter tool",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mhvis/solar",
packages=["samil"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
# * 3.4 is required for paho-mqtt:tls_set()
# * 3.5 is required for socket.socketpair() in Windows, only used for test cases
# * 3.5 is required for socket.listen() optional backlog parameter
# * CI only tests >=3.5
python_requires='>=3.5',
entry_points={
"console_scripts": [
"samil = samil.cli:cli"
]
},
install_requires=[
"paho-mqtt>=1.5.0",
"click>=7.1.2",
"influxdb-client>=1.32.0",
]
)