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() {