Browse Source

.github: set specific version of pyenv so pyenv upstream doesn't break our CI

gps-1.3.1
bugobliterator 4 years ago committed by Peter Barker
parent
commit
f790a66781
  1. 4
      Tools/environment_install/install-prereqs-mac.sh

4
Tools/environment_install/install-prereqs-mac.sh

@ -109,6 +109,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then @@ -109,6 +109,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then
echo "Installing pyenv"
curl https://pyenv.run | bash
pushd $HOME/.pyenv
git fetch --tags
git checkout v2.0.4
popd
exportline="export PYENV_ROOT=\$HOME/.pyenv"
echo $exportline >> ~/$SHELL_LOGIN
exportline="export PATH=\$PYENV_ROOT/bin:\$PATH"

Loading…
Cancel
Save