-
Notifications
You must be signed in to change notification settings - Fork 48
/
pyproject.toml
114 lines (100 loc) · 2.26 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
[project]
name = "gwcs"
description = "Generalized World Coordinate System"
requires-python = ">=3.10"
authors = [
{ name = "gwcs developers", email = "help@stsci.edu" },
]
dependencies = [
"asdf >= 3.3.0",
"astropy >= 6.0",
"numpy>=1.24",
"scipy>=1.14.1",
"asdf_wcs_schemas >= 0.4.0",
"asdf-astropy >= 0.5.0",
]
dynamic = [
"version",
]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.license]
file = "licenses/LICENSE.rst"
content-type = "text/x-rst"
[project.urls]
Homepage = "https://github.com/spacetelescope/gwcs"
Tracker = "https://github.com/spacetelescope/gwcs/issues"
Documentation = "https://gwcs.readthedocs.io/en/stable/"
"Source Code" = "https://github.com/spacetelescope/jwst"
[project.entry-points."asdf.extensions"]
gwcs = "gwcs.extension:get_extensions"
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx-automodapi",
"sphinx-rtd-theme",
"stsci-rtd-theme",
"sphinx-astropy",
"sphinx-asdf",
"tomli; python_version <'3.11'",
]
test = [
"ci-watson>=0.3.0",
"pytest>=7.0.0",
"pytest-astropy>=0.11.0",
]
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.4",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
"gwcs.tests.data" = [
"*",
]
[tool.setuptools.packages.find]
namespaces = false
[tool.build_sphinx]
source-dir = "docs"
build-dir = "docs/_build"
all_files = "1"
[tool.distutils.upload_docs]
upload-dir = "docs/_build/html"
show-response = 1
[tool.pytest.ini_options]
minversion = 4.6
doctest_plus = true
doctest_rst = true
text_file_format = "rst"
addopts = [
"--color=yes",
"--doctest-rst",
]
norecursedirs = [
"build",
"docs/_build",
".tox",
]
filterwarnings = [
"ignore:Models in math_functions:astropy.utils.exceptions.AstropyUserWarning",
"ignore:numpy.ndarray size changed:RuntimeWarning",
]
[tool.coverage.run]
omit = [
"gwcs/tests/test_*",
"gwcs/tags/tests/test_*",
"*/gwcs/tests/test_*",
"*/gwcs/tags/tests/test_*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
"def main\\(.*\\):",
"pragma: py{ignore_python_version}",
]
[tool.setuptools_scm]