-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 2.18 KB
/
pyproject.toml
File metadata and controls
92 lines (81 loc) · 2.18 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
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=6.2",
"extension-helpers>=1.3,<2",
"numpy>=2.0.0",
"Cython>=3.1,<4",
]
build-backend = 'setuptools.build_meta'
[project]
name = "astroscrappy"
readme = "README.rst"
authors = [
{ name = "Curtis McCully", email = "cmccully@lco.global" },
]
description = "Speedy Cosmic Ray Annihilation Package in Python"
license = "BSD-3-Clause"
license-files = ["licenses/LICENSE.rst"]
# edit-on-github = "False"
# github-project = "astropy/astroscrappy"
requires-python = ">=3.11"
dependencies = [
"astropy",
"numpy",
]
dynamic = [ "version" ]
[project.urls]
Homepage = "https://github.com/astropy/astroscrappy"
[project.optional-dependencies]
docs = ["sphinx-astropy"]
test = ["Cython", "pytest-astropy", "scipy"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["astroscrappy*"]
[tool.setuptools.package-data]
"*" = [ "data/*" ]
[tool.setuptools_scm]
write_to = "astroscrappy/version.py"
[tool.pytest.ini_options]
testpaths = ["astroscrappy", "docs"]
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "-p no:warnings --doctest-rst"
doctest_norecursedirs = ["*/setup_package.py"]
filterwarnings = [
# action:message:category:module:lineno
# "error",
# "ignore:.*divide by zero encountered in double_scalars.*:RuntimeWarning:arviz",
]
[tool.coverage.run]
source = ["astroscrappy"]
plugins = [ "Cython.Coverage" ]
omit = [
"astroscrappy/conftest.py",
"astroscrappy/*setup_package*",
"astroscrappy/tests/*",
"astroscrappy/*/tests/*",
"astroscrappy/version*",
"*/astroscrappy/conftest.py",
"*/astroscrappy/*setup_package*",
"*/astroscrappy/tests/*",
"*/astroscrappy/*/tests/*",
"*/astroscrappy/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_",
]
[tool.cibuildwheel]
build-verbosity = 1
test-skip = "*-musllinux_x86_64"
skip = ["cp*t-*"] # no free threading
environment = { PIP_PREFER_BINARY=1 }