-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
148 lines (133 loc) · 3.57 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm>=7",
"numpy>=2.0.0rc1,<2.3; python_version >= '3.9'",
"oldest-supported-numpy; python_version < '3.9'",
"Cython>=3.0.10,<3.1.0",
]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.8"
name = "pentapy"
authors = [{name = "Sebastian Müller", email = "[email protected]"}]
readme = "README.md"
license = {text = "MIT"}
dynamic = ["version"]
description = "pentapy: A toolbox for pentadiagonal matrizes."
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
]
dependencies = ["numpy>=1.20.0"]
[project.optional-dependencies]
scipy = ["scipy"]
umfpack = ["scikit-umfpack"]
all = [
"scipy",
"scikit-umfpack",
]
doc = [
"m2r2>=0.2.8",
"scipy>=1.1.0",
"matplotlib>=3",
"perfplot<0.9",
"numpydoc>=1.1",
"sphinx>=7",
"sphinx-gallery>=0.8",
"sphinx-rtd-theme>=2",
]
test = ["pytest-cov>=3"]
check = [
"black>=24,<25",
"isort[colors]",
"pylint",
"cython-lint",
]
[project.urls]
Homepage = "https://github.com/GeoStat-Framework/pentapy"
Documentation = "https://pentapy.readthedocs.io"
Source = "https://github.com/GeoStat-Framework/pentapy"
Tracker = "https://github.com/GeoStat-Framework/pentapy/issues"
Changelog = "https://github.com/GeoStat-Framework/pentapy/blob/main/CHANGELOG.md"
Conda-Forge = "https://anaconda.org/conda-forge/pentapy"
[tool.setuptools]
license-files = ["LICENSE"]
[tool.setuptools_scm]
write_to = "src/pentapy/_version.py"
write_to_template = "__version__ = '{version}'"
local_scheme = "no-local-version"
fallback_version = "0.0.0.dev0"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.black]
target-version = [
"py38",
"py39",
"py310",
"py311",
"py312",
]
[tool.cython-lint]
max-line-length = 120
[tool.coverage]
[tool.coverage.run]
source = ["pentapy"]
omit = [
"*docs*",
"*examples*",
"*tests*",
"*paper*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
]
[tool.pylint]
[tool.pylint.master]
extension-pkg-whitelist = [
"numpy",
"scipy",
]
ignore = "_version.py"
[tool.pylint.message_control]
disable = [
"R0801",
]
[tool.pylint.reports]
output-format = "colorized"
[tool.pylint.design]
max-args = 20
max-locals = 50
max-branches = 30
max-statements = 80
max-attributes = 25
max-public-methods = 75
[tool.cibuildwheel]
# Switch to using build
build-frontend = "build"
# Disable building PyPy wheels on all platforms, 32bit builds, py3.6, py3.7
skip = ["cp36-*", "cp37-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
# Run the package tests using `pytest`
test-extras = "test"
test-command = "pytest -v {package}/tests"
# Skip trying to test arm64 builds on Intel Macs
test-skip = "*-macosx_arm64 *-macosx_universal2:arm64"