forked from cta-observatory/ctapipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·92 lines (89 loc) · 2.82 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# import ah_bootstrap
from setuptools import setup, find_packages
import os
# Define entry points for command-line scripts
# TODO: this shuold be automated (e.g. look for main functions and
# rename _ to -, and prepend 'ctapipe'
entry_points = {}
entry_points["console_scripts"] = [
"ctapipe-info = ctapipe.tools.info:main",
"ctapipe-dump-triggers = ctapipe.tools.dump_triggers:main",
"ctapipe-dump-instrument=ctapipe.tools.dump_instrument:main",
"ctapipe-reconstruct-muons = ctapipe.tools.muon_reconstruction:main",
"ctapipe-display-dl1 = ctapipe.tools.display_dl1:main",
"ctapipe-process = ctapipe.tools.process:main",
"ctapipe-merge = ctapipe.tools.merge:main",
"ctapipe-fileinfo = ctapipe.tools.fileinfo:main",
"ctapipe-quickstart = ctapipe.tools.quickstart:main",
]
tests_require = [
"pytest",
"pandas>=0.24.0",
"importlib_resources;python_version<'3.9'",
"tomli",
"pytest_astropy_header",
]
docs_require = [
"sphinx_rtd_theme",
"sphinx_automodapi",
"sphinx~=3.5",
"nbsphinx",
"numpydoc",
"jupyter",
"notebook",
"graphviz",
"pandas",
]
setup(
packages=find_packages(exclude="ctapipe._dev_version"),
python_requires=">=3.8",
install_requires=[
"astropy~=5.0",
"bokeh~=2.0",
"eventio>=1.9.1,<2.0.0a0",
"h5py",
"iminuit>=2",
"joblib",
"matplotlib~=3.0",
"numba>=0.43",
"numpy~=1.16",
"psutil",
"scikit-learn",
"scipy~=1.2",
"tables~=3.4",
"tqdm>=4.32",
"traitlets~=5.0,>=5.0.5",
"zstandard",
"requests",
"setuptools_scm>=3.4",
"importlib_resources;python_version<'3.9'",
"jinja2~=3.0.2", # for sphinx 3.5, update when moving to 4.x
"pyyaml>=5.1",
"docutils",
],
# here are optional dependencies (as "tag" : "dependency spec")
extras_require={
"all": tests_require + docs_require,
"tests": tests_require,
"docs": docs_require,
},
use_scm_version={"write_to": os.path.join("ctapipe", "_version.py")},
tests_require=tests_require,
setup_requires=["pytest_runner", "setuptools_scm"],
classifiers=[
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Astronomy",
"Development Status :: 3 - Alpha",
],
zip_safe=False,
entry_points=entry_points,
package_data={"": ["resources/*"]},
)