|
|
@ -78,7 +78,7 @@ echo Installing python ...
|
|
|
|
:: Cleanup python directory if it was existing.
|
|
|
|
:: Cleanup python directory if it was existing.
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\python\." rd /q /s "%WIN_TOOLS_ROOT_DIR%\python"
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\python\." rd /q /s "%WIN_TOOLS_ROOT_DIR%\python"
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\python_bin\." rd /q /s "%WIN_TOOLS_ROOT_DIR%\python_bin"
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\python_bin\." rd /q /s "%WIN_TOOLS_ROOT_DIR%\python_bin"
|
|
|
|
call svn co -q %WIN_TOOLS_ROOT_URL%/third_party/python "%WIN_TOOLS_ROOT_DIR%\python_bin"
|
|
|
|
call svn co -q %WIN_TOOLS_ROOT_URL%/third_party/python_26 "%WIN_TOOLS_ROOT_DIR%\python_bin"
|
|
|
|
if errorlevel 1 goto :PYTHON_FAIL
|
|
|
|
if errorlevel 1 goto :PYTHON_FAIL
|
|
|
|
:: Create the batch file.
|
|
|
|
:: Create the batch file.
|
|
|
|
call copy /y "%~dp0python.new.bat" "%WIN_TOOLS_ROOT_DIR%\python.bat" 1>nul
|
|
|
|
call copy /y "%~dp0python.new.bat" "%WIN_TOOLS_ROOT_DIR%\python.bat" 1>nul
|
|
|
|