forked from sdn-sense/siterm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-agent.py
31 lines (29 loc) · 1.23 KB
/
setup-agent.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
#!/usr/bin/env python3
"""
Setup tools script for SiteRM Site Agent.
Authors:
Justas Balcas jbalcas (at) caltech.edu
Date: 2022/05/20
"""
from setuptools import setup
from setupUtilities import list_packages, get_py_modules, VERSION
setup(
name='DTNRMAgent',
version="%s" % VERSION,
long_description="DTN-RM Agent installation",
author="Justas Balcas",
author_email="[email protected]",
url="https://sdn-sense.github.io",
download_url=f"https://github.com/sdn-sense/siterm/archive/refs/tags/{VERSION}.tar.gz",
keywords=['DTN-RM', 'system', 'monitor', 'SDN', 'end-to-end'],
package_dir={'': 'src/python/'},
packages=['DTNRMAgent', 'DTNRMLibs'] + list_packages(['src/python/DTNRMAgent/', 'src/python/DTNRMLibs/']),
install_requires=[],
data_files=[("/etc/cron.d/", ["packaging/general/siterm-crons"]),
("/etc/cron-scripts/", ["packaging/general/siterm-ca-cron.sh"])],
py_modules=get_py_modules(['src/python/DTNRMAgent', 'src/python/DTNRMLibs']),
scripts=["packaging/dtnrm-site-agent/scripts/dtnrmagent-update",
"packaging/dtnrm-site-agent/scripts/dtnrm-ruler",
"packaging/dtnrm-site-agent/scripts/dtnrm-debugger",
"packaging/general/Config-Fetcher"]
)