mitmproxy/dev.bat

19 lines
571 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-02-15 14:43:59 +00:00
pip install -e ./netlib[dev]
if %errorlevel% neq 0 exit /b %errorlevel%
pip install -e ./pathod[dev]
if %errorlevel% neq 0 exit /b %errorlevel%
pip install -e ./mitmproxy[dev,examples,contentviews]
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.