-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
executable file
·89 lines (79 loc) · 2.65 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
from setuptools import setup, find_packages
# Extra requirements
rpc_requirements = [
"tornado~=4.5.0",
]
web_requirements = [
"Django~=1.11.0",
"django-crispy-forms~=1.6.0",
# "whitenoise",
] + rpc_requirements
gpio_requirements = ['RPi.GPIO']
rpio_requirements = ['RPIO']
arduino_requirements = []
all_extras_requirements = web_requirements + gpio_requirements + arduino_requirements
setupopts = dict(
name="automate",
version='0.10.20.dev5',
packages=find_packages('src'),
include_package_data=True,
package_dir={'': 'src'},
zip_safe=False,
install_requires=[
"ansiconv",
"colorlog",
"croniter~=0.3.0",
"ipython",
"pyinotify",
"traits~=4.6.0",
"requests",
"raven",
"pyfirmata",
],
extras_require={
'web': web_requirements,
'rpc': rpc_requirements,
'raspberrypi': gpio_requirements,
'rpio': rpio_requirements,
'arduino': arduino_requirements,
'all': all_extras_requirements,
},
download_url='https://pypi.python.org/pypi/automate',
platforms = ['any'],
author="Tuomas Airaksinen",
author_email="tuomas.airaksinen@gmail.com",
description="General purpose Python automatization library with nifty real-time web UI",
long_description=open('README.rst').read(),
license="GPL",
keywords="automation, GPIO, Raspberry Pi, RPIO, traits",
url="http://github.com/tuomas2/automate",
classifiers= [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
entry_points={
'automate.extension': [
'arduino = automate.extensions.arduino:extension_classes',
'rpc = automate.extensions.rpc:extension_classes',
'rpio = automate.extensions.rpio:extension_classes',
'webui = automate.extensions.webui:extension_classes',
]
},
)
if __name__ == "__main__":
setup(**setupopts)