-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (98 loc) · 2.16 KB
/
pyproject.toml
File metadata and controls
108 lines (98 loc) · 2.16 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Spectractor"
dynamic = ["version"]
description = ""
readme = "README.md"
license = {text = "BSD"}
authors = [
{name = "J. Neveu", email = "jeremy.neveu@universite-paris-saclay.fr"},
{name = "S. Dagoret-Campagne", email = "sylvie.dagoret-campagne@ijclab.in2p3.fr"}
]
requires-python = ">=3.9"
dependencies = [
"numpy>1.15",
"scipy",
"matplotlib>3.1",
"pandas",
"llvmlite",
"numba",
"astropy>=3.2",
"photutils>=1.7.0",
"astroquery>=0.4.8",
"coloredlogs",
"scikit-image>=0.20",
"tqdm",
"configparser",
"deprecated",
"pyyaml",
"getCalspec>=2.0.0",
"lsst_utils",
"packaging"
]
[project.urls]
Homepage = "https://github.com/LSSTDESC/Spectractor"
Repository = "https://github.com/LSSTDESC/Spectractor"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["spectractor*"]
[tool.setuptools.dynamic]
version = {attr = "spectractor._version.__version__"}
[tool.setuptools.package-data]
"*" = ["*.ini", "*.txt"]
spectractor = [
"config/*.ini",
"extractor/dispersers/**/*"
]
"spectractor.simulation" = [
"CTIOThroughput/*.txt",
"AuxTelThroughput/*.txt",
"StarDiceThroughput/*.txt"
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage>=3.6",
"coveralls"
]
mcmc = [
"h5py",
"emcee",
"schwimmbad",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinxcontrib-apidoc"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--ignore=spectractor/parameters.py --ignore=spectractor/fit/mcmc.py"
[tool.coverage.run]
omit = [
"spectractor/parameters.py",
"spectractor/fit/mcmc.py",
"*/tests/*",
"*/__pycache__/*"
]
source = ["spectractor"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if False:",
"if TYPE_CHECKING:",
]
show_missing = true