Merge "Fix installation on python3-only systems"

This commit is contained in:
Jenkins 2015-05-15 16:23:44 +00:00 committed by Gerrit Code Review
commit 5e6f6391e8

View File

@ -22,7 +22,9 @@ ASKCONFIRMATION=1
OVERWRITEDIR="ask"
USEVIRTUALENV="yes"
PYTHON="$(which python)"
PYTHON2="$(which python || true)"
PYTHON3="$(which python3 || true)"
PYTHON=${PYTHON2:-$PYTHON3}
BASE_PIP_URL="https://pypi.python.org/simple"
VIRTUALENV_191_URL="https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py"
VIRTUALENV_CMD="virtualenv"