File size: 691 Bytes
9758e85 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
@echo off
set DIR=%~dp0
ECHO Setting up portable environment using %DIR% ...
set PATH=%DIR%\git\bin;%DIR%\python_embeded;%DIR%\python_embeded\Scripts;%PATH%
set PY_LIBS=%DIR%\python_embeded\Scripts\Lib;%DIR%\python_embeded\Scripts\Lib\site-packages
set PY_PIP=%DIR%\python_embeded\Scripts
set PIP_INSTALLER_LOCATION=%DIR%\python\get-pip.py
if /I "%~1"=="passive" (
REM we just set the env vars and return
goto :EOF
)
ECHO.
ECHO ===================================================================
ECHO Use this command prompt to modify the embbedded Python environment.
ECHO ===================================================================
PUSHD python_embeded
cmd.exe
POPD
EXIT
|