mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Skip installint setuptools
by ez_setup.py
explicitly (fixes #381)
`pip` will install `setuptools` automatically.
This commit is contained in:
parent
7c4c1757f7
commit
fe934642c5
1 changed files with 1 additions and 3 deletions
|
@ -1531,9 +1531,7 @@ build_package_ensurepip() {
|
||||||
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
|
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
|
||||||
ensurepip_opts="--altinstall"
|
ensurepip_opts="--altinstall"
|
||||||
fi
|
fi
|
||||||
"$PYTHON_BIN" -m ensurepip $ensurepip_opts 1>/dev/null 2>&1 || {
|
"$PYTHON_BIN" -m ensurepip $ensurepip_opts 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1
|
||||||
build_package_ez_setup "$@" && build_package_get_pip "$@"
|
|
||||||
} || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
|
|
Loading…
Reference in a new issue