mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
19 lines
465 B
Bash
Executable File
19 lines
465 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o nounset
|
|
set -o xtrace
|
|
|
|
echo "Creating dev environment in ./venv..."
|
|
|
|
python3 -m venv venv
|
|
. venv/bin/activate
|
|
pip3 install -U pip setuptools
|
|
pip3 install -r requirements.txt
|
|
|
|
echo ""
|
|
echo " * Created virtualenv environment in ./venv."
|
|
echo " * Installed all dependencies into the virtualenv."
|
|
echo " * You can now activate the $(python3 --version) virtualenv with this command: \`. venv/bin/activate\`"
|