Skip to content
Snippets Groups Projects
Commit 74bb8647 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab-ci: install setuptools to build the wheels

Python 3.12 does not ship with `setuptools` anymore.
parent 5ab1a8e6
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,7 @@
- sccache --show-stats
- cd build
- "$PYTHON_PREFIX/bin/python$PYTHON_VERSION_SUFFIX -m venv venv"
- venv/bin/pip install setuptools
- venv/bin/pip install wheel
- venv/bin/python3 setup.py bdist_wheel
- '[ -f dist/*_universal2.whl ] && exit 1 # universal2 wheels are not made; platform detection requires an override'
......
......@@ -308,6 +308,7 @@
- Set-Item -Force -Path "env:PATH" -Value "$env:PYTHON_PREFIX;$env:PATH"
- python -m venv venv
- . .\venv\Scripts\Activate.ps1
- pip install setuptools
- pip install wheel
- python setup.py bdist_wheel
- python "$env:GIT_CLONE_PATH\.gitlab\ci\create_wheel_sdk_archive.py"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment