This commit is contained in:
meejah 2024-11-28 01:06:30 -07:00
parent 4d9e628469
commit b39fb229b3

View File

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