2015-03-14 01:33:21 +00:00
|
|
|
@echo off
|
|
|
|
set VENV=..\venv.mitmproxy
|
|
|
|
|
2015-06-24 01:47:36 +00:00
|
|
|
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.
|
2015-06-24 01:17:57 +00:00
|
|
|
echo * Activated virtualenv environment.
|