Let python wrapper script choose wich default python version to use

Change-Id: I094bdbce0898351aced3f6cca4cd3a7cb7adb8cb
This commit is contained in:
Federico Ressi 2019-12-04 10:43:49 +01:00
parent b22d14306e
commit 0b93f34b72
1 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,7 @@ set -eu
source $(dirname "$0")/activate
# Prefer python 3 over python 2
export PYTHON_VERSION=${PYTHON_VERSION:-3}
export PYTHON_VERSION=${PYTHON_VERSION:-}
TOX_BASE_PYTHON=${PYTHON:-${CI_TOOLS_DIR}/python}
TOX_VIRTUAL_ENV=$(realpath "${TOX_VIRTUAL_ENV:-.tox/tox}")