-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
63 lines (58 loc) · 1.81 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
import os
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.io/', ['contrib/conf.yaml']),
('/usr/lib/systemd/system/', ['contrib/idiotic.service']),
('/usr/share/idiotic.io/templates/', os.listdir('idioticio/templates')),
('/usr/share/idiotic.io/static/', os.listdir('idioticio/static')),
])
setup(
name='idiotic',
packages=find_packages(exclude=['etc', 'contrib']),
version='0.0.1',
description='idiotic home automation controller managemnet thingy',
long_description="""Provides an Internet-facing server that provides a proxy
for incoming OAuth requests and management for individual idiotic instances.
""",
license=read_license(),
author='Dylan Whichard',
author_email='dylan@whichard.com',
url='https://github.com/idiotic/idiotic.io',
keywords=[
'home automation', 'iot', 'internet of things'
],
classifiers=[
'Framework :: Flask',
'Development Status :: 3 - Alpha',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: System Administrators',
'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=[
'aiohttp',
'flask',
'sqlalchemy',
'requests_oauthlib',
'passlib',
'bcrypt',
'PyYAML',
],
data_files=data_files,
entry_points={
'console_scripts': [
'idioticio=idioticio.__main__:main',
]
},
)