1
0
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:
Yamashita Yuu
2013-05-21 16:38:11 +09:00
parent b3deef5e80
commit 9ae12a7c22
10 changed files with 185 additions and 2 deletions

View File

@@ -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.