Browse Source

Set $PYENV_VERSION for existing installation of 3.4

CPython 3.4.x requires "python3.4" to be executable during build
if it is in "$PATH".
pull/37/head
Yamashita Yuu 11 years ago
parent
commit
dfc3f9e13c
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      plugins/python-build/share/python-build/3.4-dev

+ 6
- 0
plugins/python-build/share/python-build/3.4-dev View File

@ -1,3 +1,9 @@
# Python 3.4 requires "python3.4" to be executable if it is in ${PATH}.
if ! pyenv-which python3.4 1>/dev/null 2>&1; then
if pyenv-whence python3.4 1>/dev/null 2>&1; then
export PYENV_VERSION="$(pyenv-whence python3.4 2>/dev/null | tail -1)"
fi
fi
install_hg "Python-3.4-dev" "https://bitbucket.org/mirror/cpython" "default" standard verify_py34
install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python
install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python

Loading…
Cancel
Save