File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments