-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (61 loc) · 2.89 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
57
58
59
60
61
62
63
64
65
import os
from setuptools import setup, find_packages
extras_require = {
"tests": [
"pytest",
"pytest-cov",
"codecov",
"pyyaml",
"tables",
]
}
extras_require["all"] = list(set(extras_require["tests"]))
setup(
name="protopipe-grid-interface",
description="Interface to the DIRAC grid for the prototype pipeline for the Cherenkov Telescope Array (CTA)",
keywords="cta pipeline simulations grid",
url="https://github.com/HealthyPear/protopipe-grid-interface",
project_urls={ # same as protopipe
"Documentation": "https://cta-observatory.github.io/protopipe/",
"Source": "https://github.com/HealthyPear/protopipe-grid-interface",
"Tracker": "https://github.com/cta-observatory/protopipe/issues",
"Projects": "https://github.com/cta-observatory/protopipe/projects",
},
author="Michele Peresano",
author_email="michele.peresano@cea.fr",
license="CeCILL-B Free Software License Agreement",
packages=find_packages(),
package_data={"protopipe_grid_interface": ["aux/*"]},
include_package_data=True,
install_requires=["DIRAC", "CTADIRAC", "pyyaml", "tables", "tqdm"],
zip_safe=False,
use_scm_version={
"write_to": os.path.join("protopipe_grid_interface", "_version.py")
},
tests_require=extras_require["tests"],
classifiers=[
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
],
python_requires=">=3.8,<3.9",
extras_require={"all": extras_require["tests"], "tests": extras_require["tests"]},
entry_points={
"console_scripts": [
"protopipe-SPLIT_DATASET=protopipe_grid_interface.scripts.split_dataset:main",
"protopipe-CREATE_ANALYSIS=protopipe_grid_interface.scripts.create_analysis_tree:main",
"protopipe-SUBMIT_JOBS=protopipe_grid_interface.scripts.submit_jobs:main",
"protopipe-DELETE_FILES=protopipe_grid_interface.scripts.delete_files:main",
"protopipe-DOWNLOAD_FILES=protopipe_grid_interface.scripts.download_files:main",
"protopipe-MERGE_FILES=protopipe_grid_interface.scripts.merge_tables:main",
"protopipe-DOWNLOAD_AND_MERGE=protopipe_grid_interface.scripts.download_and_merge:main",
"protopipe-UPLOAD_FILE=protopipe_grid_interface.scripts.upload_file:main",
"protopipe-UPLOAD_MODELS=protopipe_grid_interface.scripts.upload_models:main",
"protopipe-FORCE_JOB_TO_FAILED=protopipe_grid_interface.scripts.cta_wms_set_failed:main",
"protopipe-FILTER-REPLICAS=protopipe_grid_interface.scripts.filter_lfns_by_replicas:main",
"protopipe-GET_INPUT_LFNS=protopipe_grid_interface.scripts.get_input_LFNs:main",
]
},
)