소스 검색

CPython installer requires existing Pyhthon of similar version.

pull/100/head
Yamashita Yuu 12 년 전
부모
커밋
8fa6b4a184
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +5
    -3
      plugins/python-build/bin/pyenv-install

+ 5
- 3
plugins/python-build/bin/pyenv-install 파일 보기

@ -156,11 +156,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. (The
# Default PYENV_VERSION to the friendly Python version. (The
# CPython installer requires an existing Python installation to run. An
# unsatisfied local .python-version file can cause the installer to
# unsatisfied local python version can cause the installer to
# fail.)
#export PYENV_VERSION="$(pyenv global 2>/dev/null || true)"
if [[ "${VERSION_NAME}" == [23]"."* ]]; then
export PYENV_VERSION="$(pyenv-whence "python${VERSION_NAME%%.${VERSION_NAME##*.}}" 2>/dev/null | tail -1 || true)"
fi
# Execute `before_install` hooks.

불러오는 중...
취소
저장