File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,6 +282,18 @@ jobs:
282282 $outreq = "publish_output\requir.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_').txt"
283283 & "$env:build_location\python\python.exe" -X utf8 -c "from wppm import wheelhouse as wh; wh.pylock_to_req(r'$destfile_pylock', r'$outreq')"
284284
285+ if ($env:WINPYrequirementswhl -eq "") {
286+ & "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freezewheel.txt
287+ $destfile_pylockwheel = "publish_output\pylock.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_')_wheels.toml"
288+ & "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=$env:destwheelhouse -r dotpython\freezewheel.txt -o $destfile_pylockwheel
289+
290+ $outreqwheel = "publish_output\requir.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_')_wheels.txt"
291+ & "$env:build_location\python\python.exe" -X utf8 -c "from wppm import wheelhouse as wh; wh.pylock_to_req(r'$destfile_pylockwheel', r'$outreqwheel')"
292+ Copy-Item -Path $outreqwheel -Destination (Join-Path $env:build_location "wheelhouse") -Force
293+ Copy-Item -Path $destfile_pylockwheel -Destination (Join-Path $env:build_location "wheelhouse") -Force
294+
295+ }
296+
285297 - name : Zip the result
286298 shell : pwsh
287299 if : ${{ matrix.flavor_config.ZIP == '1' }}
You can’t perform that action at this time.
0 commit comments