forked from cta-observatory/protopipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (69 loc) · 2.39 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
66
67
68
69
70
71
72
73
import os
from setuptools import setup, find_packages
extras_require = {
"docs": [
"sphinx_rtd_theme",
"sphinx-issues",
"sphinx_automodapi",
"nbsphinx",
"numpydoc",
"ipython",
"gammapy",
"pytest",
"numpy",
"ctapipe==0.11.0",
"pyirf",
"pandas"
],
"tests": [
"pytest",
"pytest-cov",
"pytest-dependency",
"codecov",
],
}
extras_require["all"] = list(set(extras_require["tests"] + extras_require["docs"]))
setup(
name="protopipe",
description="Prototype pipeline for the Cherenkov Telescope Array (CTA)",
keywords='cta pipeline simulations grid',
url="https://github.com/cta-observatory/protopipe",
project_urls={
'Documentation': 'https://cta-observatory.github.io/protopipe/',
'Source': 'https://github.com/cta-observatory/protopipe',
'Tracker': 'https://github.com/cta-observatory/protopipe/issues',
'Projects': 'https://github.com/cta-observatory/protopipe/projects'
},
author="Michele Peresano",
author_email="[email protected]",
license="CeCILL-B Free Software License Agreement",
packages=find_packages(),
package_data={"protopipe": ["aux/example_config_files/analysis.yaml"]},
include_package_data=True,
install_requires=["ctapipe==0.11.0", "pyirf", "pandas"],
zip_safe=False,
use_scm_version={"write_to": os.path.join("protopipe", "_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.7',
'Programming Language :: Python :: 3.8',
],
python_requires='>=3.7',
extras_require={
"all": extras_require["tests"] + extras_require["docs"],
"tests": extras_require["tests"],
"docs": extras_require["docs"],
},
entry_points={
'console_scripts': [
'protopipe-TRAINING=protopipe.scripts.data_training:main',
'protopipe-MODEL=protopipe.scripts.build_model:main',
'protopipe-DL2=protopipe.scripts.write_dl2:main',
'protopipe-DL3-EventDisplay=protopipe.scripts.make_performance_EventDisplay:main',
],
},
)