We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fab3de + 0b88f5c commit abbd57cCopy full SHA for abbd57c
make.py
@@ -731,6 +731,15 @@ def _create_batch_scripts(self):
731
call %~dp0env.bat
732
cd %WINPYDIR%\Scripts
733
%WINPYDIR%\scripts\jupyter-notebook.exe --notebook-dir=%WINPYDIR%\..\notebooks %*
734
+""")
735
+
736
+ self.create_batch_script('upgrade_pip.bat', r"""@echo off
737
+call %~dp0env.bat
738
+echo this will upgrade pip with latest version, then patch it for WinPython portability ok ?
739
+pause
740
+%WINPYDIR%\python.exe -m pip install --upgrade --force-reinstall pip
741
+%WINPYDIR%\python.exe -c "from winpython import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip')
742
743
""")
744
745
# pre-run mingw batch
0 commit comments