mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
17 lines
505 B
Batchfile
17 lines
505 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%
|
|
python -m pip install --disable-pip-version-check -U pip
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
|
pip install -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.
|