mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-12-11 07:06:17 +00:00
13 lines
358 B
Bash
Executable File
13 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
VENV=../venv.mitmproxy
|
|
|
|
python -m 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."
|