forked from isciences/exactextract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (47 loc) · 1.32 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
[project]
name = "exactextract"
description = "Fast and accurate raster zonal statistics"
license.file = "LICENSE"
url = "https://github.com/isciences/exactextract"
authors = [
{ "name" = "Daniel Baston" }
]
requires-python = ">=3.9"
classifiers = [
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
readme = "README.md"
[build-system]
requires=["scikit-build-core", "pybind11"]
build-backend="scikit_build_core.build"
[tool.scikit-build]
sdist.exclude=[
".clang-format",
".dockerignore",
".github",
".git-blame-ignore-revs",
".gitignore",
".gitlab-ci.yml",
".pre-commit-config.yaml",
".pytest_cache",
"Dockerfile",
"benchmark",
"ci",
"codecov.yml",
"test"
]
cmake.targets = ["_exactextract"]
cmake.define = {"BUILD_CLI"= "NO", "BUILD_DOC"= "NO", "BUILD_BENCHMARKS"= "NO", "BUILD_TEST"= "NO"}
wheel.packages=["python/src/exactextract"]
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "cmake/VersionSource.cmake"
regex = "EXACTEXTRACT_VERSION_SOURCE \"(?P<value>.+)\""