-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
128 lines (114 loc) · 2.55 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
[project]
name = "tweakwcs"
description = "A package for correcting alignment errors in WCS objects"
requires-python = ">=3.10"
authors = [
{ name = "Mihai Cara", email = "[email protected]" },
]
dependencies = [
"numpy",
"astropy>=5.0.4",
"gwcs>=0.14.0",
"stsci.stimage",
"stsci.imagestats",
"spherical_geometry>=1.2.20",
"packaging>=19.0",
]
dynamic = [
"version",
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 4 - Beta",
]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.license]
file = "LICENSE.txt"
content-type = "text/plain"
[project.urls]
Homepage = "https://github.com/spacetelescope/tweakwcs"
"Bug Tracker" = "https://github.com/spacetelescope/tweakwcs/issues"
Documentation = "http://spacetelescope.github.io/tweakwcs/"
"Source Code" = "https://github.com/spacetelescope/tweakwcs"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"scipy",
]
docs = [
"tomli; python_version<'3.11'",
"numpydoc",
"sphinx",
"sphinx-automodapi",
"sphinx-rtd-theme",
"stsci-rtd-theme",
"graphviz",
]
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.6",
"wheel",
]
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]
"*" = [
"notebooks/*.ipynb",
]
tweakwcs = [
"README.rst",
"LICENSE.txt",
"CHANGELOG.rst",
]
"tweakwcs.tests.data" = [
"tweakwcs/tests/data/*",
]
[tool.setuptools_scm]
write_to = "tweakwcs/_version.py"
[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 = "--ignore=build"
[tool.coverage.run]
omit = [
"tweakwcs/_version.py",
"tweakwcs/tests/*.py",
"*/tweakwcs/tests/*.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
"def main\\(.*\\):",
"pragma: py{ignore_python_version}",
]