-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
50 lines (46 loc) · 1.84 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
from glob import glob
from os.path import basename, splitext
from setuptools import find_packages, setup
PROJECT_URL = 'https://github.com/SteinHeselmans/DucoBox'
requires = ['setuptools-scm', 'pyserial', 'influxdb']
setup(
name='duco.ducobox',
url=PROJECT_URL,
use_scm_version={
'write_to': 'src/duco/__ducobox_version__.py'
},
setup_requires=['setuptools_scm'],
author='Stein Heselmans',
author_email='[email protected]',
description='Read parameters from DucoBox.',
long_description=open("README.rst").read(),
zip_safe=False,
license='GNU General Public License v3 (GPLv3)',
platforms='any',
packages=find_packages('src'),
package_dir={'': 'src'},
entry_points={'console_scripts': ['ducobox = duco.ducobox:main']},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
install_requires=requires,
namespace_packages=['duco'],
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 1 - Planning',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: Unix',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Home Automation',
],
keywords=['Duco', 'DucoBox', 'DucoBox Silent', 'ventilation', 'home automation'],
)