mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
python2 -> python in ./dev
Python 2 is not at python2 in most environments. If we really care, we should just include an explicit version check at the head of the script.
This commit is contained in:
parent
37d731aacd
commit
10750c9f30
4
dev
4
dev
@ -2,11 +2,11 @@
|
|||||||
set -e
|
set -e
|
||||||
VENV=../venv.mitmproxy
|
VENV=../venv.mitmproxy
|
||||||
|
|
||||||
python2 -m virtualenv $VENV
|
python -m virtualenv $VENV
|
||||||
source $VENV/bin/activate
|
source $VENV/bin/activate
|
||||||
pip install --src .. -r requirements.txt
|
pip install --src .. -r requirements.txt
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "* Created virtualenv environment in $VENV."
|
echo "* Created virtualenv environment in $VENV."
|
||||||
echo "* Installed all dependencies into the virtualenv."
|
echo "* Installed all dependencies into the virtualenv."
|
||||||
echo "* Activated virtualenv environment."
|
echo "* Activated virtualenv environment."
|
||||||
|
Loading…
Reference in New Issue
Block a user