mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
12 lines
339 B
Bash
Executable File
12 lines
339 B
Bash
Executable File
#!/bin/sh
|
|
VENV=../venv.mitmproxy
|
|
|
|
virtualenv $VENV || { echo 'virtualenv is not installed. Exiting.' ; exit 1; }
|
|
source $VENV/bin/activate
|
|
pip install --src .. -r requirements.txt
|
|
|
|
echo ""
|
|
echo "* Created virtualenv environment in $VENV."
|
|
echo "* Installed all dependencies into the virtualenv."
|
|
echo "* Activated virtualenv environment."
|