Skip to content

Commit 1dcb93a

Browse files
(CI)(venv) drop python2 support
1 parent 4740e07 commit 1dcb93a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/travis/setup-venv.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ source $BASEDIR/defaults.sh
88
VENV_DIR=${1:-~/venv}
99

1010
# setup our own virtualenv
11-
if $WITH_PYTHON3; then
12-
PYTHON_EXE='/usr/bin/python3'
13-
else
14-
PYTHON_EXE='/usr/bin/python2'
15-
fi
11+
PYTHON_EXE='/usr/bin/python3'
1612

1713
# use --system-site-packages so that Python will use deb packages
1814
virtualenv $VENV_DIR -p $PYTHON_EXE --system-site-packages

0 commit comments

Comments
 (0)