-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (55 loc) · 1.77 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
import sys
from setuptools import setup, find_packages
def read_license():
with open("LICENSE") as f:
return f.read()
data_files = []
if 'bdist_rpm' in sys.argv:
data_files.extend([
('/etc/idiotic/', ['contrib/conf.yaml']),
('/usr/lib/systemd/system/', ['contrib/idiotic.service']),
])
setup(
name='idiotic',
packages=find_packages(exclude=['etc', 'contrib']),
version='2.0.0',
description='Distributed home automation controller',
long_description="""The idiotic distributed internet of things inhabitance
controller (idiotic), aims to be an extremely extensible, capable, and most
importantly developer-and-user-friendly solution for mashing together a wide
assortment of existing home automation technologies into something which is
useful as a whole.""",
license=read_license(),
author='Dylan Whichard',
author_email='dylan@whichard.com',
url='https://github.com/umbc-hackafe/idiotic',
keywords=[
'home automation', 'iot', 'internet of things'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Home Automation',
],
install_requires=[
'pysyncobj>=0.2.1',
'PyYAML',
'aiohttp',
'flask',
'python-nest',
'requests',
'astral',
],
data_files=data_files,
entry_points={
'console_scripts': [
'idiotic=idiotic.__main__:main',
]
},
)