aboutsummaryrefslogtreecommitdiffstats
path: root/dev.bat
blob: dab9010ac4886842349808dec775e8a4f27cc4c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@echo off
set VENV=..\venv.mitmproxy

virtualenv %VENV%
if %errorlevel% neq 0 exit /b %errorlevel%
call %VENV%\Scripts\activate.bat
if %errorlevel% neq 0 exit /b %errorlevel%
pip install --src .. -r requirements.txt
if %errorlevel% neq 0 exit /b %errorlevel%

echo.
echo * Created virtualenv environment in %VENV%.
echo * Installed all dependencies into the virtualenv.
echo * Activated virtualenv environment.