@ -11,9 +11,6 @@ set PYTHON_BAT_RUNNER=1
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: : This file is automatically generated by "bootstrap\win\win_tools.py", and
: : This file is automatically generated by "bootstrap\win\win_tools.py", and
: : should not be modified.
: : should not be modified.
@ -33,7 +30,7 @@ set PYTHON_BAT_RUNNER=1
: : it set.
: : it set.
: :
: :
: : We remedy this in the future by having the batch file load its core paths
: : We remedy this in the future by having the batch file load its core paths
: : from an external file via "set /p" , removing the need to modify "python.bat"
: : from an external file with for/set , removing the need to modify "python.bat"
: : during upgrade.
: : during upgrade.
: :
: :
: : After all of the old batch files are believed to be replaced, we can remove
: : After all of the old batch files are believed to be replaced, we can remove
@ -42,7 +39,7 @@ set PYTHON_BAT_RUNNER=1
if not " %PYTHON_BAT_RUNNER% " == " 1 " goto : END
if not " %PYTHON_BAT_RUNNER% " == " 1 " goto : END
set /p PYTHON_BIN_RELDIR = < %~dp0 python_bin_reldir.txt
for /f %% i in ( %~dp0 python_bin_reldir.txt) do set PYTHON_BIN_RELDIR = %% i
set PATH = %~dp0 %PYTHON_BIN_RELDIR% ;%~dp0 %PYTHON_BIN_RELDIR% \Scripts;%PATH%
set PATH = %~dp0 %PYTHON_BIN_RELDIR% ;%~dp0 %PYTHON_BIN_RELDIR% \Scripts;%PATH%
" %~dp0 %PYTHON_BIN_RELDIR% \python.exe " %*
" %~dp0 %PYTHON_BIN_RELDIR% \python.exe " %*