-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
138 lines (124 loc) · 3.22 KB
/
pyproject.toml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# Based on https://github.com/cta-observatory/project-template-python-pure
[build-system]
requires = ["setuptools >= 65", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "lstosa"
description = "Onsite analysis pipeline for the CTA LST-1"
readme = "README.md"
license = {text = "BSD-3-Clause"}
authors = [
{name = "Daniel Morcuende", email = "dmorcuen@ucm.es"},
{name = "María Láinez"},
{name = "José Enrique Ruiz"},
{name = "Lab Saha"},
{name = "Andrés Baquero"},
{name = "José Luis Contreras"},
{name = "Maximilian Linhoff"},
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.9"
dependencies = [
"astropy~=5.0",
"lstchain>=0.10.7",
"matplotlib",
"numpy",
"pandas",
"pyyaml",
"prov",
"pydot",
"pydotplus",
"psutil",
"click",
"toml",
"pymongo",
"gammapy~=1.1",
"tenacity",
]
dynamic = ["version"]
[project.urls]
repository = "https://github.com/cta-observatory/lstosa"
documentation = "https://lstosa.readthedocs.io/"
[project.scripts]
sequencer = "osa.scripts.sequencer:main"
closer = "osa.scripts.closer:main"
autocloser = "osa.scripts.autocloser:main"
copy_datacheck = "osa.scripts.copy_datacheck:main"
datasequence = "osa.scripts.datasequence:main"
sequencer_webmaker = "osa.scripts.sequencer_webmaker:main"
show_run_summary = "osa.scripts.show_run_summary:main"
show_run_summary_tcu = "osa.scripts.show_run_summary_tcu:main"
provprocess = "osa.scripts.provprocess:main"
simulate_processing = "osa.scripts.simulate_processing:main"
calibration_pipeline = "osa.scripts.calibration_pipeline:main"
dl3_stage = "osa.workflow.dl3:main"
theta2_significance = "osa.high_level.significance:main"
source_coordinates = "osa.nightsummary.set_source_coordinates:main"
reprocessing = "osa.scripts.reprocessing:main"
reprocess_longterm = "osa.scripts.reprocess_longterm:main"
gain_selection = "osa.scripts.gain_selection:main"
update_source_catalog = "osa.scripts.update_source_catalog:main"
gainsel_webmaker = "osa.scripts.gainsel_webmaker:main"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["osa._dev_version"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"freezegun",
]
doc = [
"sphinx",
"numpydoc",
"pydata-sphinx-theme",
"sphinx_automodapi",
"sphinx_argparse",
]
dev = [
"setuptools_scm",
]
# we can use self-references to simplify all
all = [
"lstosa[test,doc,dev]",
]
[tool.setuptools_scm]
write_to = 'src/osa/_version.py'
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| dev
| _build
| buck-out
| build
| dist
)/
'''
[tool.setuptools.package-data]
osa = [
"sequencer.cfg",
"definition.yaml",
"logger.yaml",
"osa.css"
]
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = ["dev"]