Debian Codegraph @

docker/scripts/install-pyenv.sh

raw
1 #!/bin/sh
2 # For managing all the local python installations for testing, use pyenv
3 curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
4
5 # To enable testing versions like 3.4.8 as 3.4 in tox, we need to alias
6 # pyenv python versions
7 git clone https://github.com/s1341/pyenv-alias.git $(pyenv root)/plugins/pyenv-alias
8
9 # Python versions to test against
10 VERSION_ALIAS="python3.13" pyenv install 3.13.1
11 VERSION_ALIAS="python3.12" pyenv install 3.12.8
12 VERSION_ALIAS="python3.11" pyenv install 3.11.11
13 VERSION_ALIAS="python3.10" pyenv install 3.10.16
14 VERSION_ALIAS="python3.9" pyenv install 3.9.21
15 VERSION_ALIAS="python3.8" pyenv install 3.8.20