This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
57 lines (49 loc) · 2.01 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
from glob import glob
from os.path import basename
from os.path import splitext
from setuptools import setup, find_packages
with open("README.rst", "r") as fh:
long_description = fh.read()
with open("VERSION", "r") as fh:
version = fh.read().strip()
with open("requirements/install/common.txt", "r") as fh:
requirements_common = fh.read().splitlines()
with open("requirements/install/hermes.txt", "r") as fh:
requirements_hermes = fh.read().splitlines()
extra_requirements_hermes = list(set(requirements_hermes) - set(requirements_common))
with open("requirements/install/mqtt.txt", "r") as fh:
requirements_mqtt = fh.read().splitlines()
extra_requirements_mqtt = list(set(requirements_mqtt) - set(requirements_common))
setup(
name="snipskit",
version=version,
description="A library to help create apps for the voice assistant Snips",
long_description=long_description,
long_description_content_type="text/x-rst",
license="MIT",
author="Koen Vervloesem",
author_email="[email protected]",
url="https://github.com/koenvervloesem/snipskit",
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
install_requires=requirements_common,
extras_require={'hermes': extra_requirements_hermes,
'mqtt': extra_requirements_mqtt},
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries'
],
)