Skip to content

Commit 8181041

Browse files
committed
missing the other 2
1 parent c973d85 commit 8181041

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/github_workflows_build-slim.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ jobs:
106106
Get-ChildItem -Path dotpython -Force | Move-Item -Destination $env:build_location -Force
107107
# Add more WinPython-specific folders/files here if needed
108108
109-
- name: upgrade pip to get structure and icons launchers
109+
- name: upgrade pip to get its mini-launcher, and patch the launchers to movable
110110
shell: pwsh
111111
run: |
112112
& "$env:build_location\python\python.exe" -m pip install --upgrade pip
113-
113+
& "$env:build_location\python\python.exe" -c "from wppm import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip', to_movable=True)
114114
115115
- name: Write env.ini file
116116
shell: pwsh
@@ -149,6 +149,10 @@ jobs:
149149
shell: pwsh
150150
run: |
151151
mkdir publish_dot
152+
153+
# we need to ensure unicode here so wppm can output utf-8
154+
$env:PYTHONUTF8 = 1
155+
152156
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
153157
& "$env:build_location\python\python.exe" -m wppm -md
154158
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile -Encoding utf8

.github/workflows/github_workflows_build-whl.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ jobs:
106106
Get-ChildItem -Path dotpython -Force | Move-Item -Destination $env:build_location -Force
107107
# Add more WinPython-specific folders/files here if needed
108108
109-
- name: upgrade pip to get structure and icons launchers
109+
- name: upgrade pip to get its mini-launcher, and patch the launchers to movable
110110
shell: pwsh
111111
run: |
112112
& "$env:build_location\python\python.exe" -m pip install --upgrade pip
113-
113+
& "$env:build_location\python\python.exe" -c "from wppm import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip', to_movable=True)
114114
115115
- name: Write env.ini file
116116
shell: pwsh
@@ -149,6 +149,10 @@ jobs:
149149
shell: pwsh
150150
run: |
151151
mkdir publish_dot
152+
153+
# we need to ensure unicode here so wppm can output utf-8
154+
$env:PYTHONUTF8 = 1
155+
152156
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
153157
& "$env:build_location\python\python.exe" -m wppm -md
154158
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile -Encoding utf8

0 commit comments

Comments
 (0)