Skip to content

Commit

Permalink
Make sure pybind11 uses py3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
e60e256 committed Mar 16, 2024
1 parent dfbc36b commit c02221b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ where = [""]
[tool.cibuildwheel]

build = "cp310-manylinux_x86_64"
before-build = "cmake . -DCMAKE_BUILD_TYPE=Release -DPYBIND11_FINDPYTHON=ON -DPYTHON_EXECUTABLE=$(which python) && cmake --build . -j -DPYBIND11_FINDPYTHON=ON -DPYTHON_EXECUTABLE=$(which python) -DPYTHON_INCLUDE_DIR=$(python -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())') -DPYTHON_LIBRARY=$(python -c 'import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))')/libpython3.10.so"
before-build = "apt-get install python-dev && cmake . -DCMAKE_BUILD_TYPE=Release && cmake --build . -j"
#build = "cp3{8,9,10}-manylinux_x86_64 cp3{8,9,10}-musllinux_x86_64"
#build = "cp3{8,9,10}-manylinux_x86_64"
# "Programming Language :: Python :: 3.8",
Expand Down

0 comments on commit c02221b

Please sign in to comment.