-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
90 lines (79 loc) · 2.12 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
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=6.2",
"extension-helpers==1.*",
"numpy>=2.0.0rc1",
"Cython>=3.0,<3.1",
]
build-backend = 'setuptools.build_meta'
[project]
name = "astroscrappy"
readme = "README.rst"
authors = [
{ name = "Curtis McCully", email = "[email protected]" },
]
description = "Speedy Cosmic Ray Annihilation Package in Python"
license = { text = "BSD-3-Clause" }
# edit-on-github = "False"
# github-project = "astropy/astroscrappy"
requires-python = ">=3.9"
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]
license-files = ["licenses/LICENSE.rst"]
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
environment = { PIP_PREFER_BINARY=1 }