wheels: symlink python3-config

This commit is contained in:
Mohamed Gaber
2024-10-07 16:39:54 +03:00
parent ab84c105c1
commit 67f17a1c97
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ jobs:
with:
python-version: 3.8
- name: Build wheels
uses: pypa/[email protected]0.0
uses: pypa/[email protected]1.1
env:
CIBW_SKIP: pp* # The Makefile requires python3-config which is not in pypy
CIBW_ARCHS: ${{ matrix.os.archs }}
@@ -5,6 +5,10 @@ set -x
make clean
# DEBUG: show python3 and python3-config outputs
if [ "$(uname)" != "Linux" ]; then
# https://github.com/pypa/cibuildwheel/issues/2021
ln -s $(dirname $(readlink -f $(which python3)))/python3-config $(dirname $(which python3))/python3-config
fi
python3 --version
python3-config --includes