forked from spacetelescope/jdaviz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
173 lines (160 loc) · 3.98 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
[project]
name = "jdaviz"
description = "Astronomical data analysis development leveraging the Jupyter platform"
requires-python = ">=3.10"
authors = [
{ name = "JDADF Developers", email = "[email protected]" },
]
dependencies = [
"packaging",
"astropy>=6",
"matplotlib>=3.6",
"traitlets>=5.0.5",
"bqplot>=0.12.37",
"glue-core>=1.20.0",
"glue-jupyter>=0.23.0",
"echo>=0.5.0",
"ipykernel>=6.19.4",
"ipyvue>=1.6",
"ipyvuetify>=1.7.0",
"ipysplitpanes>=0.1.0",
"ipygoldenlayout>=0.3.0",
"ipywidgets>=8.0.6",
"solara>=1.40.0",
"pyyaml>=5.4.1",
"specutils>=1.18",
"specreduce>=1.4.1",
"photutils>=1.4",
"glue-astronomy>=0.10",
"asteval>=0.9.23",
"idna",
"vispy>=0.6.5",
"asdf>=2.14.3",
"stdatamodels>=1.3",
"gwcs>=0.16.1",
"regions>=0.6",
"scikit-image",
"sidecar>=0.5.2",
"ipypopout>=2.0.0",
"astroquery",
"requests",
"nbclassic",
]
dynamic = [
"version",
]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.license]
file = "licenses"
content-type = "text/plain"
[project.urls]
Homepage = "https://jdaviz.readthedocs.io/en/latest/"
[project.scripts]
jdaviz = "jdaviz.cli:_main"
[project.entry-points.jdaviz_plugins]
default = "jdaviz.configs.default"
cubeviz = "jdaviz.configs.cubeviz"
specviz = "jdaviz.configs.specviz"
mosviz = "jdaviz.configs.mosviz"
imviz = "jdaviz.configs.imviz"
[project.optional-dependencies]
all = [
"opencv-python",
"pysiaf"
]
test = [
"pytest",
"pytest-astropy",
"pytest-tornasync"
]
docs = [
"sphinx-astropy[confv2]>=1.9.1",
"sphinx_design"
]
roman = [
"roman_datamodels>=0.22.0",
]
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm"
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = [
"LICENSE.rst",
]
[tool.setuptools.packages.find]
namespaces = true
[tool.setuptools.package-data]
jdaviz = [
"data/*",
"data/*/*",
"*.vue",
"*.css",
"components/*.vue",
"configs/*/*/*/*.vue",
"configs/*/*.yaml",
"jdaviz_cli.ipynb",
"jdaviz_cli_launcher.ipynb",
]
"jdaviz.configs.imviz.tests" = [
"data/*",
]
[tool.pytest.ini_options]
testpaths = [
"\"jdaviz\"",
"\"docs\"",
]
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst --import-mode=append"
xfail_strict = true
filterwarnings = [
"error",
"ignore:numpy\\.ufunc size changed:RuntimeWarning",
"ignore:numpy\\.ndarray size changed:RuntimeWarning",
"ignore:Passing unrecognized arguments to super:DeprecationWarning",
"ignore:.*With traitlets 4\\.1, metadata should be set using the \\.tag\\(\\) method:DeprecationWarning",
"ignore:The unit 'Angstrom' has been deprecated in the VOUnit standard\\. Suggested.* 0\\.1nm\\.",
"ignore:((.|\n)*)Sentinel is not a public part of the traitlets API((.|\n)*)",
"ignore:datetime\\.datetime\\.utcfromtimestamp:DeprecationWarning", # asdf + dateutil<=2.8.2 + Python 3.12
"ignore::DeprecationWarning:glue",
"ignore::DeprecationWarning:asteval",
"ignore:::specutils.spectra.spectrum1d",
# Ignore numpy 2.0 warning, see https://github.com/astropy/astropy/pull/15495
# and https://github.com/scipy/scipy/pull/19275
"ignore:.*numpy\\.core.*:DeprecationWarning",
]
[tool.coverage.run]
omit = [
"jdaviz/_astropy_init*",
"jdaviz/conftest.py",
"jdaviz/*setup_package*",
"jdaviz/tests/*",
"jdaviz/**/tests/*",
"jdaviz/extern/*",
"jdaviz/version*",
"*/jdaviz/_astropy_init*",
"*/jdaviz/conftest.py",
"*/jdaviz/*setup_package*",
"*/jdaviz/tests/*",
"*/jdaviz/**/tests/*",
"*/jdaviz/extern/*",
"*/jdaviz/version*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
"def main\\(.*\\):",
"pragma: py{ignore_python_version}",
"def _ipython_key_completions_",
]