You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
celery/docker/scripts/install-pyenv.sh

14 lines
629 B

#!/bin/sh
# For managing all the local python installations for testing, use pyenv
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
# To enable testing versions like 3.4.8 as 3.4 in tox, we need to alias
# pyenv python versions
git clone https://github.com/s1341/pyenv-alias.git $(pyenv root)/plugins/pyenv-alias
# Python versions to test against
VERSION_ALIAS="python2.7" pyenv install 2.7.15
VERSION_ALIAS="python3.4" pyenv install 3.4.9
VERSION_ALIAS="python3.5" pyenv install 3.5.6
VERSION_ALIAS="python3.6" pyenv install 3.6.7
VERSION_ALIAS="python3.7" pyenv install 3.7.1