mitmproxy/dev.bat

17 lines
505 B
Batchfile
Raw Normal View History

@echo off
2016-02-15 14:43:59 +00:00
set VENV=.\venv
virtualenv %VENV% --always-copy
2015-04-13 15:17:18 +00:00
if %errorlevel% neq 0 exit /b %errorlevel%
call %VENV%\Scripts\activate.bat
2015-04-13 15:17:18 +00:00
if %errorlevel% neq 0 exit /b %errorlevel%
2016-06-25 09:27:58 +00:00
python -m pip install --disable-pip-version-check -U pip
if %errorlevel% neq 0 exit /b %errorlevel%
pip install -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.