forked from spacetelescope/gwcs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
110 lines (96 loc) · 2.19 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
[project]
name = "gwcs"
description = "Generalized World Coordinate System"
requires-python = ">=3.10"
authors = [
{ name = "gwcs developers", email = "[email protected]" },
]
dependencies = [
"asdf >= 2.8.1",
"astropy >= 5.3",
"numpy",
"scipy",
"asdf_wcs_schemas >= 0.4.0",
"asdf-astropy >= 0.2.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>=4.6.0",
"pytest-astropy",
]
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.4",
"wheel",
]
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"
norecursedirs = [
"build",
"docs/_build",
".tox",
]
doctest_plus = "enabled"
addopts = "--doctest-rst"
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]