mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
We need the _version.py file in any case, even if we use the cache.
This commit is contained in:
parent
151cd2b13a
commit
0d196efc31
@ -257,11 +257,12 @@ 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 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
|
||||||
|
|
||||||
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 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 wheel --wheel-dir $env:PIP_FIND_LINKS .[testenv] .[test]
|
python -m pip wheel --wheel-dir $env:PIP_FIND_LINKS .[testenv] .[test]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user