-
Notifications
You must be signed in to change notification settings - Fork 190
/
pyproject.toml
162 lines (147 loc) · 4.02 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm>=7",
"numpy>=2.0.0rc1,<2.3; python_version >= '3.9'",
"scipy>=1.13.0,<2; python_version >= '3.9'",
"oldest-supported-numpy; python_version < '3.9'",
"scipy>=1.3.2,<2; python_version < '3.9'",
"Cython>=3.0.10,<3.1.0",
]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.8"
name = "PyKrige"
description = "Kriging Toolkit for Python."
authors = [
{name = "Benjamin S. Murphy, Sebastian Müller", email = "[email protected]"},
]
maintainers = [
{name = "Sebastian Müller, Roman Yurchak", email = "[email protected]"},
]
readme = "README.md"
license = {text = "BSD-3-Clause"}
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: Microsoft",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Utilities",
]
dependencies = [
"numpy>=1.20.0",
"scipy>=1.1.0,<2",
]
[project.optional-dependencies]
doc = [
"gstools>=1.4,<2",
"pillow",
"scikit-learn>=0.19",
"m2r2>=0.2.8",
"matplotlib>=3",
"numpydoc>=1.1",
"sphinx>=7",
"sphinx-gallery>=0.8",
"sphinx-rtd-theme>=2",
]
plot = ["matplotlib>=3,<4"]
sklearn = ["scikit-learn>=0.19"]
test = [
"pytest-cov>=3",
"scikit-learn>=0.19",
"gstools>=1.4,<2",
]
lint = [
"black>=23,<24",
"pylint",
"isort[colors]",
"cython-lint",
]
[project.urls]
Changelog = "https://github.com/GeoStat-Framework/PyKrige/blob/main/CHANGELOG.md"
Conda-Forge = "https://anaconda.org/conda-forge/pykrige"
Documentation = "https://pykrige.readthedocs.io"
Homepage = "https://github.com/GeoStat-Framework/PyKrige"
Source = "https://github.com/GeoStat-Framework/PyKrige"
Tracker = "https://github.com/GeoStat-Framework/PyKrige/issues"
[tool.setuptools]
license-files = ["LICENSE"]
[tool.setuptools_scm]
write_to = "src/pykrige/_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 = 100
[tool.coverage]
[tool.coverage.run]
source = ["pykrige"]
omit = [
"*docs*",
"*examples*",
"*tests*",
]
[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",
"C0103", # lots of invalid variable names
]
[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 and musllinux builds, py3.6/7
skip = ["cp36-*", "cp37-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
# Run the package tests using `pytest`
test-extras = "test"
test-command = "pytest -v {package}/tests"