-
Notifications
You must be signed in to change notification settings - Fork 74
/
pyproject.toml
168 lines (154 loc) · 4.18 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
163
164
165
166
167
168
[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",
"extension-helpers>=1",
]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.8"
name = "gstools"
description = "GSTools: A geostatistical toolbox."
authors = [
{name = "Sebastian Müller, Lennart Schüler", email = "[email protected]"},
]
readme = "README.md"
license = {text = "LGPL-3.0"}
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"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 :: Hydrology",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Utilities",
]
dependencies = [
"emcee>=3.0.0",
"hankel>=1.0.0",
"meshio>=5.1.0",
"numpy>=1.20.0",
"pyevtk>=1.1.1",
"scipy>=1.1.0",
]
[project.optional-dependencies]
doc = [
"m2r2>=0.2.8",
"matplotlib>=3.7",
"meshzoo>=0.7",
"numpydoc>=1.1",
"pykrige>=1.5,<2",
"pyvista>=0.40",
"sphinx>=7",
"sphinx-gallery>=0.8",
"sphinx-rtd-theme>=2",
"sphinxcontrib-youtube>=1.1",
]
plotting = [
"matplotlib>=3.7",
"pyvista>=0.40",
]
rust = ["gstools_core>=1.0.0"]
test = ["pytest-cov>=3"]
lint = [
"black>=24",
"pylint",
"isort[colors]",
"cython-lint",
]
[project.urls]
Changelog = "https://github.com/GeoStat-Framework/GSTools/blob/main/CHANGELOG.md"
Conda-Forge = "https://anaconda.org/conda-forge/gstools"
Documentation = "https://gstools.readthedocs.io"
Homepage = "https://geostat-framework.org/#gstools"
Source = "https://github.com/GeoStat-Framework/GSTools"
Tracker = "https://github.com/GeoStat-Framework/GSTools/issues"
[tool.setuptools]
license-files = ["LICENSE"]
[tool.setuptools_scm]
write_to = "src/gstools/_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
line_length = 79
[tool.black]
line-length = 79
target-version = [
"py38",
"py39",
"py310",
"py311",
"py312",
]
[tool.coverage]
[tool.coverage.run]
source = ["gstools"]
omit = [
"*docs*",
"*examples*",
"*tests*",
"*/src/gstools/covmodel/plot.py",
"*/src/gstools/field/plot.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
]
[tool.pylint]
[tool.pylint.main]
extension-pkg-whitelist = [
"numpy",
"scipy",
"gstools_core",
]
ignore = "_version.py"
load-plugins = [
"pylint.extensions.no_self_use",
]
[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 = 85
max-attributes = 25
max-public-methods = 80
[tool.cibuildwheel]
# Switch to using build
build-frontend = "build"
# Disable building PyPy wheels on all platforms, 32bit for py3.10/11/12, 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"