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

virtualenv %VENV% --always-copy
if %errorlevel% neq 0 exit /b %errorlevel%
call %VENV%\Scripts\activate.bat
if %errorlevel% neq 0 exit /b %errorlevel%
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]
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.