mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-29 02:57:19 +00:00
15 lines
393 B
Bash
15 lines
393 B
Bash
#!/bin/bash
|
|
set -e
|
|
VENV=./venv
|
|
|
|
python -m virtualenv $VENV --always-copy
|
|
. $VENV/bin/activate
|
|
pip install -e ./netlib[dev]
|
|
pip install -e ./pathod[dev]
|
|
pip install -e ./mitmproxy[dev,examples,contentviews]
|
|
|
|
echo ""
|
|
echo "* Created virtualenv environment in $VENV."
|
|
echo "* Installed all dependencies into the virtualenv."
|
|
echo "* You can now activate the virtualenv: \`. $VENV/bin/activate\`"
|