8000 rectify whlc build to wheelhouse\included.wheels · winpython/winpython@28bb170 · GitHub
[go: up one dir, main page]

Skip to content

Commit 28bb170

Browse files
committed
rectify whlc build to wheelhouse\included.wheels
1 parent 2d0c3ef commit 28bb170

File tree

1 file changed

+12
-7
lines changed
< 8000 /div>

1 file changed

+12
-7
lines changed

.github/workflows/github_workflows_build-all_3.13.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979
echo "WINPYVERSION=${{ matrix.flavor_config.WINPYVERSION }}" >> $GITHUB_ENV
8080
8181
echo "build_location=${{ matrix.flavor_config.build_location }}" >> $GITHUB_ENV
82+
echo "dotwheelhouse="dotpython\wheelhouse\included.wheels" >> $GITHUB_ENV
83+
echo "destwheelhouse="${{ matrix.flavor_config.build_location }}\wheelhouse\included.wheels" >> $GITHUB_ENV
8284
8385
echo "WINPYVER2=${{ matrix.flavor_config.WINPYVER2 }}" >> $GITHUB_ENV
8486
echo "my_release_level=${{ matrix.flavor_config.my_release_level }}" >> $GITHUB_ENV
@@ -98,6 +100,7 @@ jobs:
98100
echo "pandoc_source=https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-windows-x86_64.zip" >> $GITHUB_ENV
99101
echo "pandoc_sha256=11eb6dbe5286c9e5edb0cca4412e7d99ec6578ec04158b0b7fe11f7fd96688e5" >> $GITHUB_ENV
100102
103+
101104
- name: See variables
102105
shell: pwsh
103106
run: |
@@ -113,6 +116,8 @@ jobs:
113116
Write-Output "WINPY7Z is $env:WINPY7Z"
114117
Write-Output "WINPYEXE is $env:WINPYEXE"
115118
Write-Output "build_location is $env:build_location"
119+
Write-Output "dotwheelhouse is $env:dotwheelhouse"
120+
Write-Output "destwheelhouse is $env:destwheelhouse"
116121
Write-Output "WINPYVER is $env:WINPYVER"
117122
Write-Output "WINPYVER2 is $env:WINPYVER2"
118123
@@ -147,7 +152,7 @@ jobs:
147152
shell: bash
148153
run: |
149154
cp -r winpython/portable/launchers_final/* dotpython/
150-
mkdir "dotpython\wheelhouse"
155+
mkdir $env:dotwheelhouse
151156
152157
- name: List dotpython contents (for debugging)
153158
shell: pwsh
@@ -237,25 +242,25 @@ jobs:
237242
echo "WINPYARCH=$env:WINPYARCH" >> env.ini
238243
Copy-Item -Path "env.ini" -Destination "$destDir\env.ini"
239244
240-
- name: Download main requirements to wheelhouse
245+
- name: Download main requirements to $env:dotwheelhouse
241246
shell: pwsh
242247
run: |
243-
& "$env:build_location\python\python.exe" -m pip download --dest dotpython\wheelhouse --no-deps --require-hashes -r $env:WINPYrequirements
248+
249+
& "$env:build_location\python\python.exe" -m pip download --dest $env:dotwheelhouse --no-deps --require-hashes -r $env:WINPYrequirements
244250
245251
- name: Download additional wheelhouse requirements
246252
shell: pwsh
247253
run: |
248-
$destwheelhouse="$env:build_location\wheelhouse"
249254
if ($env:WINPYrequirementswhl -eq "") {
250255
Write-Output "No additional wheelhouse requirements."
251256
} else {
252-
& "$env:build_location\python\python.exe" -m pip download --dest $destwheelhouse --no-deps --require-hashes -r $env:WINPYrequirementswhl
257+
& "$env:build_location\python\python.exe" -m pip download --dest $env:destwheelhouse --no-deps --require-hashes -r $env:WINPYrequirementswhl
253258
}
254259
255 7440 260
- name: Install requirements
256261
shell: pwsh
257262
run: |
258-
& "$env:build_location\python\python.exe" -m pip install --no-deps --no-index --trusted-host=None --find-links=dotpython\wheelhouse --require-hashes -r $env:WINPYrequirements
263+
& "$env:build_location\python\python.exe" -m pip install --no-deps --no-index --trusted-host=None --find-links=$env:dotwheelhouse --require-hashes -r $env:WINPYrequirements
259264
260265
- name: Generate Markdown content and pylock file
261266
shell: pwsh
@@ -272,7 +277,7 @@ jobs:
272277
273278
& "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freeze.txt
274279
$destfile_pylock = "publish_output\pylock.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_').toml"
275-
& "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=dotpython\wheelhouse -r dotpython\freeze.txt -o $destfile_pylock
280+
& "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=$env:dotwheelhouse -r dotpython\freeze.txt -o $destfile_pylock
276281
277282
$outreq = "publish_output\requir.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_').txt"
278283
& "$env:build_location\python\python.exe" -X utf8 -c "from wppm import wheelhouse as wh; wh.pylock_to_req(r'$destfile_pylock', r'$outreq')"

0 commit comments

Comments
 (0)
0