Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 41e2bfb

Browse files
committed
also pyproject.toml
1 parent 8208d4d commit 41e2bfb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

pyproject.toml

+10-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ requires = [
44
"wheel",
55
"setuptools_scm>=6.2",
66
"setuptools_scm_git_archive",
7-
"pybind11>=2.9.0",
7+
"pybind11>=2.10.4",
88
]
99
build-backend = "setuptools.build_meta"
1010

11+
[tool.setuptools_scm]
12+
write_to = "valhalla/__version__.py"
13+
write_to_template = "__version__ = '{version}'\n"
14+
version_scheme = "post-release"
15+
1116
[tool.black]
1217
line-length = 105
1318
exclude = '''
@@ -18,24 +23,25 @@ exclude = '''
1823
| '*build'
1924
| __pycache__
2025
| '*.toml'
26+
2127
)/
2228
'''
2329

2430
[tool.cibuildwheel]
25-
test-command = "python -c \"from valhalla import Actor\""
31+
test-command = "python -m unittest discover -s {project}/test"
2632
# find out current defaults: cibuildwheel --print-build-identifiers --platform linux
2733
build = "cp*"
2834
skip = "*musllinux*"
2935
archs = "native"
30-
manylinux-x86_64-image = "ghcr.io/gis-ops/manylinux:valhalla_python"
36+
manylinux-x86_64-image = "ghcr.io/gis-ops/manylinux:2_28_valhalla_python"
3137

3238
[tool.cibuildwheel.windows]
3339
before-all = "pip install conan delvewheel"
3440
repair-wheel-command = "delvewheel repair --add-path lib/windows {wheel} -w {dest_dir}"
3541

3642
[tool.cibuildwheel.linux]
3743
before-all = """
38-
pip install conan
44+
pip install "conan<2.0.0"
3945
conan profile new default --detect
4046
conan config set storage.path={package}/conan_data
4147
conan install --install-folder {package}/conan_build --remote conancenter {package}/conanfile.txt

0 commit comments

Comments
 (0)