forked from ikalchev/HAP-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (53 loc) · 1.7 KB
/
Copy pathsetup.py
File metadata and controls
65 lines (53 loc) · 1.7 KB
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
#!/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 = [
'curve25519-donna',
'ed25519',
'pycryptodome',
'tlslite-ng',
'zeroconf',
]
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 License 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',
'Topic :: Home Automation',
'Topic :: Software Development :: Libraries :: Python Modules',
],
extras_require={
'QRCode': ['base36', 'pyqrcode'],
}
)