mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-11 13:03:46 -05:00
add CPython development versions (2.[67]-dev, 3.[1234]-dev)
This commit is contained in:
@@ -148,8 +148,13 @@ if [ -z "${PYTHON_BUILD_CACHE_PATH}" ] && [ -d "${PYENV_ROOT}/cache" ]; then
|
||||
export PYTHON_BUILD_CACHE_PATH="${PYENV_ROOT}/cache"
|
||||
fi
|
||||
|
||||
# Default PYENV_VERSION to the globally-specified Python version.
|
||||
export PYENV_VERSION="$(pyenv global 2>/dev/null || true)"
|
||||
# Default PYENV_VERSION to the globally-specified Python version. (The
|
||||
# Python 3.4 installer requires an existing Python installation to run. An
|
||||
# unsatisfied local .python-version file can cause the installer to
|
||||
# fail.)
|
||||
if [ -z "${PYENV_VERSION}" ]; then
|
||||
export PYENV_VERSION="$(pyenv global 2>/dev/null || true)"
|
||||
fi
|
||||
|
||||
|
||||
# Execute `before_install` hooks.
|
||||
|
||||
Reference in New Issue
Block a user