-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
56 lines (50 loc) · 1.75 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"""Setup file for mysensors package."""
from pathlib import Path
from setuptools import setup, find_packages
PROJECT_DIR = Path(__file__).parent.resolve()
VERSION = (PROJECT_DIR / "mysensors" / "VERSION").read_text(encoding="utf-8").strip()
README_FILE = PROJECT_DIR / "README.md"
LONG_DESCRIPTION = README_FILE.read_text(encoding="utf-8")
REQUIRES = [
"awesomeversion",
"click",
"crcmod>=1.7",
"getmac",
"IntelHex>=2.2.1",
"pyserial>=3.4",
"pyserial-asyncio>=0.4",
"voluptuous>=0.11.1",
]
EXTRAS = {"mqtt-client": ["paho-mqtt"]}
setup(
name="pymysensors",
version=VERSION,
description="Python API for talking to a MySensors gateway",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/theolind/pymysensors",
author="Theodor Lindquist",
author_email="[email protected]",
license="MIT License",
install_requires=REQUIRES,
extras_require=EXTRAS,
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
python_requires=">=3.8",
entry_points={"console_scripts": ["pymysensors = mysensors.cli:cli"]},
keywords=["sensor", "actuator", "IoT", "DYI"],
zip_safe=True,
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Home Automation",
],
)