This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,15 @@ requires = [
4
4
" wheel" ,
5
5
" setuptools_scm>=6.2" ,
6
6
" setuptools_scm_git_archive" ,
7
- " pybind11>=2.9.0 " ,
7
+ " pybind11>=2.10.4 " ,
8
8
]
9
9
build-backend = " setuptools.build_meta"
10
10
11
+ [tool .setuptools_scm ]
12
+ write_to = " valhalla/__version__.py"
13
+ write_to_template = " __version__ = '{version}'\n "
14
+ version_scheme = " post-release"
15
+
11
16
[tool .black ]
12
17
line-length = 105
13
18
exclude = '''
@@ -18,24 +23,25 @@ exclude = '''
18
23
| '*build'
19
24
| __pycache__
20
25
| '*.toml'
26
+
21
27
)/
22
28
'''
23
29
24
30
[tool .cibuildwheel ]
25
- test-command = " python -c \" from valhalla import Actor \" "
31
+ test-command = " python -m unittest discover -s {project}/test "
26
32
# find out current defaults: cibuildwheel --print-build-identifiers --platform linux
27
33
build = " cp*"
28
34
skip = " *musllinux*"
29
35
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 "
31
37
32
38
[tool .cibuildwheel .windows ]
33
39
before-all = " pip install conan delvewheel"
34
40
repair-wheel-command = " delvewheel repair --add-path lib/windows {wheel} -w {dest_dir}"
35
41
36
42
[tool .cibuildwheel .linux ]
37
43
before-all = """
38
- pip install conan
44
+ pip install " conan<2.0.0"
39
45
conan profile new default --detect
40
46
conan config set storage.path={package}/conan_data
41
47
conan install --install-folder {package}/conan_build --remote conancenter {package}/conanfile.txt
You can’t perform that action at this time.
0 commit comments