-
Notifications
You must be signed in to change notification settings - Fork 354
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
74 lines (64 loc) · 2.09 KB
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
[project]
name = "s2geometry"
description = "Computational geometry and spatial indexing on the sphere"
authors = [
{ name = "Dan Larkin-York", email = "dan@arangodb.com" },
{ name = "Eric Veach", email = "ericv@google.com" },
{ name = "Jesse Rosenstock", email = "jmr@google.com" },
{ name = "Julien Basch", email = "julienbasch@google.com" },
{ name = "Mike Playle", email = "mike@mythik.co.uk" },
{ name = "Phil Elson", email = "pelson.pub@gmail.com" },
{ name = "Robert Coup", email = "robert.coup@koordinates.com" },
{ name = "Tiago Brito", email = "tiago.brito@90poe.io" },
{ name = "Zachary Burnett", email = "zachary.r.burnett@gmail.com" },
]
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: POSIX",
"License :: OSI Approved :: Apache Software License",
]
dynamic = [
"version",
]
[project.license]
file = "LICENSE"
content-type = "text/plain"
[project.urls]
Source = "https://github.com/google/s2geometry"
[dependency-groups]
test = [
"pytest",
]
[build-system]
requires = [
"cmake_build_extension",
"setuptools",
"setuptools_scm[toml]",
"swig",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = false
include-package-data = false
[tool.setuptools.packages.find]
where = [
"src",
]
namespaces = false
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools_scm]
# The same as the default. See #450.
# https://setuptools-scm.readthedocs.io/en/latest/config/#setuptools_scm._config.DEFAULT_TAG_REGEX
tag_regex = "^(?:[\\w-]+-)?(?P<version>[vV]?\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$"
[tool.cibuildwheel]
# we only need to build with CPython 3.10 (because of the limited API / stable ABI)
build = "cp310-*"
test-groups = ["test"]
test-requires = ["abi3audit"]
test-command = "pytest {project}/src/python/s2geometry_test.py && abi3audit --strict --report {project}/dist/*.whl"
[tool.cibuildwheel.macos]
# delocate is not needed because BUILD_SHARED_LIBS is OFF in setup.py,
# so all dependencies are statically linked into the extension module.
repair-wheel-command = ""