mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-01 14:38:46 -05:00
2ed400bfc6
imported from ruby-build and is for rubies, not for pythons.
13 lines
595 B
Groff
13 lines
595 B
Groff
before_install_package() {
|
|
local package_name="$1"
|
|
case "$package_name" in
|
|
Python*)
|
|
fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch
|
|
patch -p0 < setup.patch
|
|
;;
|
|
esac
|
|
}
|
|
|
|
install_package "Python-2.6.8" "http://www.python.org/ftp/python/2.6.8/Python-2.6.8.tgz"
|
|
install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python
|
|
install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python
|