forked from domogik/domogik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·112 lines (98 loc) · 3.2 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" This file is part of B{Domogik} project (U{http://www.domogik.org}).
License
=======
B{Domogik} is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
B{Domogik} is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Domogik. If not, see U{http://www.gnu.org/licenses}.
Module purpose
==============
Help to manage Domogik installation
Implements
==========
@author: Domogik project
@copyright: (C) 2007-2012 Domogik project
@license: GPL(v3)
@organization: Domogik
"""
import ez_setup
ez_setup.use_setuptools()
import os
from setuptools import setup, find_packages
import platform
import sys
if sys.version_info[0] == 3:
netifaces = 'netifaces-py3'
else:
netifaces = 'netifaces'
setup(
name = 'Domogik',
version = '0.4.0',
url = 'http://www.domogik.org/',
description = 'OpenSource home automation software',
author = 'Domogik team',
author_email = '[email protected]',
install_requires=['setuptools',
'sqlalchemy',
'alembic',
'simplejson >= 1.9.2',
'pyOpenSSL >= 0.10',
'psutil >= 0.1.3',
'pymysql',
'psycopg2',
'pip >= 1.0',
'pyserial >= 2.5',
netifaces,
'Twisted >= 12.1.0',
'Flask >= 0.9',
'Flask-WTF >= 0.9.3',
'Flask-Login',
'Flask-Babel',
'tornado >= 3.1',
'requests >= 1.2.3',
'python-magic >= 0.4.3',
'pyzmq >= 13.1.0'],
zip_safe = False,
license = 'GPL v3',
#include_package_data = True,
packages = find_packages('src', exclude=["mpris"]),
package_dir = { '': 'src' },
test_suite = 'domogik.tests',
package_data = {},
scripts=[],
entry_points = {
'console_scripts': [
"""
dmg_manager = domogik.bin.manager:main
dmg_send = domogik.bin.send:main
dmg_dump = domogik.bin.dump_xpl:main
dmg_mq_dump = domogik.mq.dump:main
dmg_admin = domogik.bin.admin:main
dmg_version = domogik.bin.version:main
dmg_hub = domogik.bin.hub:main
dmg_broker = domogik.mq.reqrep.broker:main
dmg_forwarder = domogik.mq.pubsub.forwarder:main
dmg_insert_data = domogik.tools.packages.insert_data:main
dmg_review = domogik.tools.packages.review.review:main
dmg_package = domogik.bin.package:main
"""
]
},
classifiers=[
"Topic :: Home Automation",
"Environment :: No Input/Output (Daemon)",
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English"
]
)