2015-03-14 01:33:21 +00:00
|
|
|
@echo off
|
|
|
|
set VENV=..\venv.mitmproxy
|
|
|
|
|
|
|
|
virtualenv %VENV%
|
2015-04-13 15:17:18 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2015-03-14 01:33:21 +00:00
|
|
|
call %VENV%\Scripts\activate.bat
|
2015-04-13 15:17:18 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2015-03-14 02:08:34 +00:00
|
|
|
pip install --src .. -r requirements.txt
|
2015-04-13 15:17:18 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2015-03-14 02:08:34 +00:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo * Created virtualenv environment in %VENV%.
|
|
|
|
echo * Installed all dependencies into the virtualenv.
|
|
|
|
echo * Activated virtualenv environment.
|