-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (34 loc) · 1.38 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
40
import setuptools
import versioneer
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = fh.readlines()
packages = setuptools.find_packages(exclude=["tests"])
setuptools.setup(
name="solaredge2mqtt",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Read data from SolarEdge Inverter and publish it to MQTT",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/deroetzi/solaredge2mqtt",
author="Johannes Ott",
author_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Home Automation",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
keywords="smart home",
packages=packages,
include_package_data=True,
python_requires=">=3.10, <4",
install_requires=[req for req in requirements if not req.startswith("#")],
entry_points={"console_scripts": ["solaredge2mqtt=solaredge2mqtt.service:run"]},
project_urls={"Bug Reports": "https://github.com/deroetzi/solaredge2mqtt/issues"},
)