1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 12:33:48 -05:00

Skip installint setuptools by ez_setup.py explicitly (fixes #381)

`pip` will install `setuptools` automatically.
This commit is contained in:
Yamashita Yuu
2015-05-26 23:49:46 +09:00
parent 7c4c1757f7
commit fe934642c5

View File

@@ -1531,9 +1531,7 @@ build_package_ensurepip() {
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
ensurepip_opts="--altinstall"
fi
"$PYTHON_BIN" -m ensurepip $ensurepip_opts 1>/dev/null 2>&1 || {
build_package_ez_setup "$@" && build_package_get_pip "$@"
} || return 1
"$PYTHON_BIN" -m ensurepip $ensurepip_opts 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1
}
version() {