This commit is contained in:
Florian Sesser 2024-11-08 13:17:29 +00:00
parent 92e195d28f
commit 73d42c74ed

View File

@ -257,12 +257,13 @@ jobs:
# doesn't cost us anything extra and saves us effort next time.
name: "(Maybe) Build Wheels"
command: |
python -m pip install wheel setuptools # Windows 2022 server py311 doesn't have setuptools?
python setup.py update_version # Cheat to win a race on Windows 2022 about writing _version.py
python -m pip install setuptools # Some Pythons for Windows do not come with setuptools
python setup.py update_version # Cheat to win a race on about writing _version.py
if ((Test-Path .\wheelhouse) -and (Test-Path .\wheelhouse\*)) {
echo "Found populated wheelhouse, skipping wheel building."
} else {
python -m pip install wheel
python -m pip wheel --wheel-dir $env:PIP_FIND_LINKS .[testenv] .[test]
}