From f88d63224d7b2eeb5aac1c97d80ea0ebed461bf0 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 17 Mar 2021 19:57:41 -0400 Subject: [PATCH] Revert "build_utils.sh: Prefer python3 instead of python2 for virtualenvs" This reverts commit 58afbde0aead09adc1f7af06e8491670e1acd614. --- scripts/build_utils.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index a61da253..62541041 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -96,12 +96,10 @@ create_virtualenv () { if [ "$(ls -A $path)" ]; then echo "Will reuse existing virtual env: $path" else - if [ $(command -v python3) ]; then - virtualenv -p python3 $path - elif [ $(command -v python2.7) ]; then + if [ $(command -v python2.7) ]; then virtualenv -p python2.7 $path else - virtualenv -p python $path + virtualenv -p python3 $path fi fi } -- 2.39.5