Revert "Avoid choosing virtualenv when building PyPy from source"
This reverts commit 63c00d99899971c3ed9a3ee01c69b8b3a194e171.
This commit is contained in:
parent
63c00d9989
commit
fc23323ed4
@ -207,12 +207,8 @@ if [ -z "${PYENV_BOOTSTRAP_VERSION}" ]; then
|
|||||||
else
|
else
|
||||||
for version in $(pyenv-versions --bare | sort -r); do
|
for version in $(pyenv-versions --bare | sort -r); do
|
||||||
if [[ "${version}" == "2.7"* ]]; then
|
if [[ "${version}" == "2.7"* ]]; then
|
||||||
if [ -f "$(pyenv-prefix "${version}")/bin/activate" ]; then
|
PYENV_BOOTSTRAP_VERSION="$version"
|
||||||
: # avoid choosing virtualenv since it may not have some necessary modules (e.g. cffi, pycparser)
|
break
|
||||||
else
|
|
||||||
PYENV_BOOTSTRAP_VERSION="$version"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user