[provisioning] Load in all installed python versions by default

Loads all numbered versions, giving higher versions precedence.
This commit is contained in:
Correl Roush 2018-08-30 13:35:21 -04:00
parent 4f3c4ddeec
commit e4ccb052a4

View file

@ -28,6 +28,8 @@ esac
_profile 'eval "$(pyenv init -)"'
_profile 'eval "$(pyenv virtualenv-init -)"'
_profile 'pyenv global $(pyenv versions --bare --skip-aliases | egrep "^(\.?[[:digit:]]+)+$" | sort -rV)'
if ! [ -d ~/.pyenv/versions/${__PYTHON_VERSION} ]; then
_run "Install python ${__PYTHON_VERSION}" pyenv install ${__PYTHON_VERSION}