forked from tango-controls/PANIC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (53 loc) · 1.48 KB
/
setup.py
File metadata and controls
67 lines (53 loc) · 1.48 KB
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
"""
To test this script just run:
mkdir /tmp/builds/
python setup.py install --root=/tmp/builds
/tmp/builds/usr/bin/PyAlarm -? -v4
"""
from setuptools import setup, find_packages
install_requires = ['taurus',
'fandango',
'PyTango',]
package_data = {
'': ['VERSION'],
'panic': [
'gui/icon/*',
],
}
scripts = [
'./bin/PyAlarm',
'./bin/panic',
]
entry_points = {
'console_scripts': [
#'panic-gui=panic.gui.gui:main_gui',
],
}
author = 'Sergi Rubio'
email = 'srubio@cells.es'
download_url = 'https://github.com/tango-controls/panic'
description = 'PANIC, a python Alarm System for TANGO'
long_description = """PANIC is a set of tools (api, Tango device server, user interface) that provides:
* Periodic evaluation of a set of conditions.
* Notification (email, sms, pop-up, speakers)
* Keep a log of what happened. (files, Tango Snapshots)
* Taking automated actions (Tango commands / attributes)
* Tools for configuration/visualization
"""
setup(
name="panic",
version=open('panic/VERSION').read().strip(),
author = author,
author_email = email,
maintainer = author,
maintainer_email = email,
description = description,
long_description = long_description,
download_url = download_url,
packages=find_packages(),
package_data=package_data,
install_requires=install_requires,
entry_points=entry_points,
scripts=scripts,
include_package_date=True,
)