Mercurial > hg
comparison contrib/automation/hgautomation/linux.py @ 44741:1b80e684813b stable
automation: install latest Python versions in Linux
Staying up to date. Keeping parity with the Windows environment.
Differential Revision: https://phab.mercurial-scm.org/D8467
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 28 Mar 2020 08:18:11 -0700 |
parents | acdd4f28f6a3 |
children | 6a6c15cea1fa |
comparison
equal
deleted
inserted
replaced
44740:fdf783da84bd | 44741:1b80e684813b |
---|---|
24 'ubuntu19.04', | 24 'ubuntu19.04', |
25 } | 25 } |
26 | 26 |
27 INSTALL_PYTHONS = r''' | 27 INSTALL_PYTHONS = r''' |
28 PYENV2_VERSIONS="2.7.17 pypy2.7-7.2.0" | 28 PYENV2_VERSIONS="2.7.17 pypy2.7-7.2.0" |
29 PYENV3_VERSIONS="3.5.7 3.6.9 3.7.5 3.8.0 pypy3.5-7.0.0 pypy3.6-7.2.0" | 29 PYENV3_VERSIONS="3.5.9 3.6.10 3.7.7 3.8.2 pypy3.5-7.0.0 pypy3.6-7.3.0" |
30 | 30 |
31 git clone https://github.com/pyenv/pyenv.git /hgdev/pyenv | 31 git clone https://github.com/pyenv/pyenv.git /hgdev/pyenv |
32 pushd /hgdev/pyenv | 32 pushd /hgdev/pyenv |
33 git checkout 0e7cfc3b3d4eca46ad83d632e1505f5932cd179b | 33 git checkout 3005c4664372ae13fbe376be699313eb428c8bdd |
34 popd | 34 popd |
35 | 35 |
36 export PYENV_ROOT="/hgdev/pyenv" | 36 export PYENV_ROOT="/hgdev/pyenv" |
37 export PATH="$PYENV_ROOT/bin:$PATH" | 37 export PATH="$PYENV_ROOT/bin:$PATH" |
38 | 38 |