-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
56 lines (52 loc) · 1.63 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
#!/usr/bin/env python
import os
if os.environ.get('USER','') == 'vagrant':
del os.link
import distutils.core
name = 'arago-pyactionhandler'
distutils.core.setup(
name = "arago-pyactionhandler",
version = "2.5",
author = "Marcus Klemm",
author_email = "[email protected]",
description = ("Python module for Arago HIRO ActionHandlers"),
license = "MIT",
url = "http://www.arago.de",
long_description="""\
pyactionhandler is a python module to develop external
ActionHandlers for the arago HIRO automation engine.
An ActionHandler is used to access target systems in
order to execute commands. This is not limited to
shell commands but can be anything that provides some
kind of command line or API, e.g. SQL.
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
packages=['arago.pyactionhandler',
'arago.pyactionhandler.protobuf'
],
install_requires=['gevent', 'docopt', 'zmq', 'protobuf'],
scripts=['bin/hiro-counting-rhyme-actionhandler.py', 'bin/ah-client.py', 'bin/create-zmq-keypair.sh'],
data_files=[
(
'/opt/autopilot/conf/external_actionhandlers/',
[
'config/external_actionhandlers/counting-rhyme-actionhandler.conf',
'config/external_actionhandlers/counting-rhyme-actionhandler-log.conf'
]
),
(
'/opt/autopilot/conf/external_actionhandlers/capabilities/',
[
'config/external_actionhandlers/capabilities/counting-rhyme-actionhandler.xml',
'config/external_actionhandlers/capabilities/counting-rhyme-actionhandler.yaml'
]
),
(
'/etc/init.d/', ['etc/init.d/hiro-counting-rhyme-actionhandler']
)
]
)