-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·86 lines (70 loc) · 2.28 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
#!/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()
from setuptools import setup, find_packages
pyzmq_found = False
import pip
for mod in pip.get_installed_distributions():
if ( mod.key == 'pyzmq' ):
pyzmq_found = True
setup(
name = 'Domogik MQ',
version = '1.3',
url = 'http://www.domogik.org/',
description = 'MQ module for Domogik',
author = 'Domogik team',
author_email = '[email protected]',
install_requires=['setuptools',
'pip >= 1.0',
'netifaces',
'simplejson >= 1.9.2',
'pyzmq >= 14.4.0'],
zip_safe = False,
license = 'GPL v3',
packages = find_packages('src', exclude=["mpris"]),
package_dir = { '': 'src' },
package_data = {},
scripts=[],
entry_points = {
'console_scripts': [
"""
dmg_mq_dump = domogikmq.dump:main
dmg_broker = domogikmq.reqrep.broker:main
dmg_forwarder = domogikmq.pubsub.forwarder: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"
]
)