mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 04:23:47 -05:00
Revert "Avoid choosing virtualenv when building PyPy from source"
This reverts commit 63c00d9989.
This commit is contained in:
@@ -207,13 +207,9 @@ 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
|
|
||||||
: # avoid choosing virtualenv since it may not have some necessary modules (e.g. cffi, pycparser)
|
|
||||||
else
|
|
||||||
PYENV_BOOTSTRAP_VERSION="$version"
|
PYENV_BOOTSTRAP_VERSION="$version"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [ -n "$PYENV_BOOTSTRAP_VERSION" ]; then
|
if [ -n "$PYENV_BOOTSTRAP_VERSION" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user