Skip to content

Commit

Permalink
Use Python 3 by default, except on old platforms
Browse files Browse the repository at this point in the history
This brings build-any-ib.sh in line with what daily-tags.sh already does.
  • Loading branch information
TimoWilken committed Feb 29, 2024
1 parent 0a1c680 commit bcd2427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-any-ib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export PATH=$PYTHONUSERBASE/bin:$PATH
export LD_LIBRARY_PATH=$PYTHONUSERBASE/lib:$LD_LIBRARY_PATH
# Set the default python and pip depending on the architecture...
case $ARCHITECTURE in
slc7*|slc8*) PIP=pip3 PYTHON=python3 ;;
*) PIP=pip PYTHON=python ;;
slc6*) PIP=pip PYTHON=python ;;
*) PIP=pip3 PYTHON=python3 ;;
esac
# ...and override it if PYTHON_VERSION is specified.
case "$PYTHON_VERSION" in
Expand Down

0 comments on commit bcd2427

Please sign in to comment.