This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/bash | |
set -o nounset # To exit when your script tries to use undeclared variables. | |
set -o xtrace # To trace what gets exectued (debugging). | |
set -e # Abort script at first error, when a command exits with non-zero status (except in until or while loops, if-tests, list constructs) | |
set -o pipefail # Causes a pipeline to return the exit status of the last command in the pipe that returned a non-zero return value. | |
# Install multiple versions of python | |
# https://github.com/pyenv/pyenv | |
# https://github.com/pyenv/pyenv/wiki#suggested-build-environment |