forked from HinodeXRT/xrtpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
148 lines (142 loc) · 3.49 KB
/
pyproject.toml
File metadata and controls
148 lines (142 loc) · 3.49 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
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=62.1,!=71.0.1",
"setuptools-scm[toml]>=6.2",
"wheel>=0.34",
]
[project]
name = "xrtpy"
description = "For analyzing data from the X-Ray Telescope (XRT) on the Hinode spacecraft."
readme = "README.md"
keywords = [ "Hinode", "Solar Physics", "x-ray", "XRT" ]
license = { file = "LICENSE" }
authors = [
{ name = "Joy Velasquez", email = "joy.velasquez@cfa.harvard.edu" },
{ name = "Jonathan Slavin", email = "jslavin@cfa.harvard.edu" },
{ name = "Nick Murpy", email = "namurphy@cfa.harvard.edu" },
{ name = "Will Barnes" },
{ name = "Nabil Freij", email = "nabil.freij@gmail.com" },
{ name = "Stuart Mumford" },
]
# SPEC 0 recommends that packages in the scientific pythoniverse support
# versions of Python that have been released in the last ≤36 months
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
]
dynamic = [ "version" ]
dependencies = [
"astropy>=6",
"matplotlib>=3.7",
"numpy>=1.24",
"scikit-image>=0.21",
"scipy>=1.11.1",
"sunpy[map]>=5.1",
]
optional-dependencies.dev = [
"nox>=2024.10.9",
]
optional-dependencies.docs = [
"astropy>=6",
"pydata-sphinx-theme>=0.15",
# Need pkg_resources for sphinxcontrib-bibtex
# and this comes from setuptools
# This is a bug upstream in the extension which
# has yet to be fixed.
"setuptools>71.0.1",
"sphinx>=7.3",
"sphinx-automodapi>=0.17",
"sphinx-copybutton>=0.5.2",
"sphinx-gallery>=0.16",
"sphinx-issues>=4.1",
"sphinxcontrib-bibtex>=2.6.2",
"sphinxext-opengraph>=0.6",
"sunpy[map,net]>=5",
]
optional-dependencies.tests = [
"pytest>=8.3.1",
"pytest-astropy>=0.11",
"pytest-cov>=6",
"pytest-xdist>=3.6.1",
]
urls.Changelog = "https://xrtpy.readthedocs.io/en/stable/changelog/index.html"
urls.Documentation = "https://xrtpy.readthedocs.io"
urls.Issues = "https://github.com/HinodeXRT/xrtpy/issues"
urls.Repository = "https://github.com/HinodeXRT/xrtpy"
[tool.setuptools]
packages = [ "xrtpy" ]
package-data.xrtpy = [ "data/*" ]
package-data."xrtpy.response" = [ "data/*.txt", "data/*.geny" ]
package-data."xrtpy.response.tests" = [ "data/*/*/*.txt" ]
[tool.setuptools_scm]
write_to = "xrtpy/version.py"
[tool.codespell]
skip = "*.genx,*.geny,*.png,*egg*,.git,.hypothesis,.nox,.tox,.idea,__pycache__,_build"
ignore-words-list = """
4rd,
aas,
bu,
circularly,
egde,
fo,
nd,
ons,
sav,
sav,
te,
tne,
ue
"""
[tool.pytest]
ini_options.testpaths = [ "." ]
ini_options.xfail_strict = true
ini_options.norecursedirs = [
"*egg-info*",
".*cache*",
".*env",
".[tn]ox",
".cov*",
".git*",
".hypothesis",
".idea",
".jupyter",
".vscode",
"__pycache__",
"_dev",
"binder",
"build",
"changelog",
"dist",
"docs",
"licenses",
"node_modules",
"tools",
"venv",
".venv",
]
[tool.coverage]
run.branch = true
run.omit = [
"*/*version.py",
]
run.source = [ "xrtpy" ]
report.exclude_lines = [
"@abstractmethod",
"coverage: ignore",
"if TYPE_CHECKING",
"if typing.TYPE_CHECKING",
"ImportError",
"ModuleNotFoundError",
"raise NotImplementedError",
]