mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 12:33:48 -05:00
Add pypy3-2.4.0-src (#277)
This commit is contained in:
@@ -191,11 +191,11 @@ if [[ "${VERSION_NAME}" == [23]"."* ]]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# PyPy requires existing Python 2.x to build
|
||||
if [[ "${VERSION_NAME}" == "pypy-"*"-src" ]]; then
|
||||
# PyPy/PyPy3 requires existing Python 2.7 to build
|
||||
if [[ "${VERSION_NAME}" == "pypy-"*"-src" ]] || [[ "${VERSION_NAME}" == "pypy3-"*"-src" ]]; then
|
||||
if [ -z "$PYENV_RPYTHON_VERSION" ]; then
|
||||
for version in $(pyenv-versions --bare | sort -r); do
|
||||
if [[ "$version" == 2.[567] ]] || [[ "$version" == 2.[567].* ]]; then
|
||||
if [[ "$version" == "2.7"* ]]; then
|
||||
PYENV_RPYTHON_VERSION="$version"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user