-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.64 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
import setuptools
import os
with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()
with open(os.path.join("flux_sensitivity", "version.py")) as f:
txt = f.read()
last_line = txt.splitlines()[-1]
version_string = last_line.split()[-1]
version = version_string.strip("\"'")
setuptools.setup(
name="flux_sensitivity_sebastian-achim-mueller",
version=version,
description=(
"Estimate the flux-sensitivity of a point-source either integral "
"or differential w.r.t. energy."
),
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/cherenkov-plenoscope/flux_sensitivity",
author="Sebastian Achim Mueller",
author_email="sebastian-achim.mueller@mpi-hd.mpg.de",
packages=[
"flux_sensitivity",
"flux_sensitivity.io",
"flux_sensitivity.integral",
"flux_sensitivity.differential",
"flux_sensitivity.differential.scenarios",
],
package_data={
"flux_sensitivity": [
os.path.join("tests", "resources", "cta", "*"),
os.path.join("tests", "resources", "portal", "*"),
]
},
install_requires=[
"binning_utils_sebastian-achim-mueller>=0.0.5",
"propagate_uncertainties_sebastian-achim-mueller>=0.2.2",
"lima1983analysis_sebastian-achim-mueller>=0.0.4",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Intended Audience :: Science/Research",
],
)