mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 12:33:48 -05:00
Install GNU Readline on Darwin if the readline is broken (refs #23)
The `has_broken_mac_readline` checks the existence of `readline/rhconf.h`. This is the same mechanism as setup.py of CPython.
This commit is contained in:
@@ -4,6 +4,8 @@ if ! pyenv-which python3.4 1>/dev/null 2>&1; then
|
||||
export PYENV_VERSION="$(pyenv-whence python3.4 2>/dev/null | tail -1)"
|
||||
fi
|
||||
fi
|
||||
|
||||
install_package "readline-6.2" "ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
||||
install_hg "Python-3.4-dev" "https://bitbucket.org/mirror/cpython" "default" standard verify_py34
|
||||
install_package "setuptools-0.7.2" "https://bitbucket.org/pypa/setuptools/downloads/setuptools-0.7.2.tar.gz#20003718b266929c4a49e5d7ba3f792c" python
|
||||
install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python
|
||||
|
||||
Reference in New Issue
Block a user