forked from micolous/cbus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·55 lines (46 loc) · 1.21 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from platform import system
system = system().lower()
deps = [
'configparser_plus (>=1.0)',
'serial (>=2.6)',
'lxml (>=2.3.2)',
'Twisted (>=12.0.0)',
]
if system != 'windows':
# Windows doesn't support some of these things so we run it in reduced
# functionality mode.
deps += [
'daemon (>=1.0)',
'dbus (>=1.1.1)',
'pygobject (>=2.28.6)'
]
tests_require = ['nose']
setup(
name="cbus",
version="0.1",
description="Library and applications to interact with Clipsal CBus in Python.",
author="Michael Farrell",
author_email="[email protected]",
url="https://github.com/micolous/cbus",
license="LGPL3+",
requires=deps,
test_suite='nose.collector',
tests_require=tests_require,
extras_require={'test': tests_require},
# TODO: add scripts to this.
packages=find_packages(),
entry_points={
'console_scripts': [
'cbz_dump_labels = cbus.toolkit.dump_labels:main',
'cdbusd = cbus.daemon.cdbusd:main',
'dbuspcid = cbus.daemon.dbuspcid:main',
'staged = cbus.daemon.staged:main',
'cbus_fetch_proto_docs = cbus.tools.fetch_protocol_docs:main',
'cbus_decode_packet = cbus.tools.decode_packet:main',
]
},
classifiers=[
],
)