-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (62 loc) · 1.85 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "iact_estimator"
authors = [
{ name = "Michele Peresano", email = "[email protected]" },
{ name = "Julian Sitarek", email = "[email protected]" },
]
description = "Estimate the performance of an IACT telescope system to an observation."
readme = "README.md"
requires-python = ">=3.9"
keywords = ["iact", "cherenkov", "astronomy"]
license = { text = "BSD-3-Clause" }
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Astronomy",
]
dependencies = [
"astroplan",
"astropy<6", # see https://github.com/gammapy/gammapy/issues/4972
"gammapy",
"seaborn",
"scipy<1.12", # see https://github.com/gammapy/gammapy/pull/4997
]
dynamic = ["version"]
[project.optional-dependencies]
docs = [
"furo",
"ipywidgets",
"myst-nb",
"numpydoc",
"rstcheck[sphinx]",
"sphinx-argparse",
"sphinx-autoapi",
"sphinx-copybutton",
"sphinxcontrib-towncrier",
"towncrier<24.7"
]
dev = ["pre-commit", "ruff", "iact_estimator[docs]", "iact_estimator[tests]"]
tests = ["pytest", "pytest-console-scripts"]
[project.scripts]
iact-estimator = "iact_estimator.scripts.main:main"
[tool.setuptools_scm]
write_to = "src/iact_estimator/_version.py"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.yml", "*.txt", "*.ecsv"]
[tool.numpydoc_validation]
# https://numpydoc.readthedocs.io/en/latest/validation.html#built-in-validation-checks
checks = [
"all", # report on all checks, except the below
"EX01",
"SA01",
"ES01",
"RT02",
]