mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-11-27 07:10:51 +00:00
19 lines
571 B
Batchfile
19 lines
571 B
Batchfile
@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.
|