-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (48 loc) · 1.13 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
import sys
from setuptools import find_packages, setup
sys.path.insert(0, ".")
import pkg_info # noqa: E402
setup(
name="hgcs",
version=pkg_info.release_version,
description="HGCS Package",
long_description="""This package contains HGCS components""",
license="GPL",
author="FaHui Lin , Harvester group",
author_email="[email protected]",
url="https://github.com/PanDAWMS/HGCS",
python_requires=">=3.6",
packages=find_packages(where="lib"),
package_dir={"": "lib"},
install_requires=[
"htcondor >= 10.3.0",
],
# optional pip dependencies
extras_require={},
data_files=[
# config
(
"etc/hgcs",
[
"temp/hgcs.cfg.template",
],
),
# init script
(
"etc/systemd/system",
[
"temp/hgcs.service.template",
],
),
# logrotate
(
"etc/logrotate.d",
[
"temp/logrotate-hgcs",
],
),
],
scripts=[
"bin/hgcs_master.py",
],
)