-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.48 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
"""Setup for XKNX python package."""
from os import path
from setuptools import find_packages, setup
THIS_DIRECTORY = path.abspath(path.dirname(__file__))
with open(path.join(THIS_DIRECTORY, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
VERSION = {}
# pylint: disable=exec-used
with open(path.join(THIS_DIRECTORY, "xknx/__version__.py")) as fp:
exec(fp.read(), VERSION)
REQUIRES = [
'pyyaml>=5.1',
'netifaces>=0.10.9'
]
setup(
name='xknx',
description='An Asynchronous Library for the KNX protocol. Documentation: https://xknx.io/',
version=VERSION['__version__'],
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
download_url='https://github.com/XKNX/xknx/archive/{}.zip'.format(VERSION['__version__']),
url='https://xknx.io/',
author='Julius Mittenzwei',
author_email='julius@mittenzwei.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Topic :: System :: Hardware :: Hardware Drivers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
],
packages=find_packages(),
install_requires=REQUIRES,
keywords='knx ip knxip eib home automation',
zip_safe=False)