Fix installation on python3-only systems

Change-Id: I8dd10ce459d9d3261317e098454f3e1adee666cd
Closes-Bug: 1455466
This commit is contained in:
Sergey Skripnick 2015-05-15 15:27:54 +03:00
parent 6699ffde38
commit e9b89568a2

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"