forked from cta-observatory/pyirf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (37 loc) · 878 Bytes
/
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
from setuptools import setup, find_packages
import re
with open("pyirf/version.py") as f:
__version__ = re.search('^__version__ = "(.*)"$', f.read()).group(1)
extras_require = {
"docs": [
"sphinx",
"sphinx_rtd_theme",
"sphinx_automodapi",
"numpydoc",
"nbsphinx",
"uproot~=3.0",
],
"tests": [
"pytest",
"pytest-cov",
"gammapy~=0.17",
"ogadf-schema~=0.2.3",
"uproot~=3.0",
],
}
extras_require["all"] = list(set(extras_require["tests"] + extras_require["docs"]))
setup(
version=__version__,
packages=find_packages(),
include_package_data=True,
install_requires=[
"astropy~=4.0,>=4.0.2",
"matplotlib",
"numpy>=1.18",
"pandas",
"scipy",
"tqdm",
"tables",
],
extras_require=extras_require,
)