forked from WIPACrepo/lta
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.05 KB
/
setup.py
File metadata and controls
39 lines (35 loc) · 1.05 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
#!/usr/bin/env python
import glob
import os
from setuptools import setup # type: ignore[import]
import subprocess
subprocess.run(
"pip install --upgrade pip".split(),
check=True,
)
subprocess.run(
"pip install git+https://github.com/WIPACrepo/wipac-dev-tools.git".split(),
check=True,
)
from wipac_dev_tools import SetupShop # noqa: E402 # pylint: disable=C0413
shop = SetupShop(
"lta",
os.path.abspath(os.path.dirname(__file__)),
((3, 8), (3, 9)),
"LTA is the Long Term Archive service and related tools, developed for the IceCube Collaboration.",
)
setup(
scripts=glob.glob("bin/*"),
url="https://github.com/WIPACrepo/lta",
# package_data={shop.name: ["py.typed"]},
**shop.get_kwargs(
subpackages=["transfer"],
other_classifiers=[
"Operating System :: POSIX :: Linux",
"Topic :: System :: Distributed Computing",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
],
),
zip_safe=False,
)