-
Notifications
You must be signed in to change notification settings - Fork 119
/
setup.py
68 lines (57 loc) · 1.88 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
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python3
from setuptools import setup
import pyhap.const as pyhap_const
NAME = "HAP-python"
DESCRIPTION = "HomeKit Accessory Protocol implementation in python"
URL = "https://github.com/ikalchev/{}".format(NAME)
AUTHOR = "Ivan Kalchev"
PROJECT_URLS = {
"Bug Reports": "{}/issues".format(URL),
"Documentation": "http://hap-python.readthedocs.io/en/latest/",
"Source": "{}/tree/master".format(URL),
}
MIN_PY_VERSION = ".".join(map(str, pyhap_const.REQUIRED_PYTHON_VER))
with open("README.md", "r", encoding="utf-8") as f:
README = f.read()
REQUIRES = [
"async_timeout",
"cryptography",
"chacha20poly1305-reuseable",
"orjson>=3.7.2",
"zeroconf>=0.36.2",
"h11",
]
setup(
name=NAME,
version=pyhap_const.__version__,
description=DESCRIPTION,
long_description=README,
long_description_content_type="text/markdown",
url=URL,
packages=["pyhap"],
include_package_data=True,
project_urls=PROJECT_URLS,
python_requires=">={}".format(MIN_PY_VERSION),
install_requires=REQUIRES,
license="Apache-2.0",
license_file="LICENSE",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries :: Python Modules",
],
extras_require={
"QRCode": ["base36", "pyqrcode"],
},
)