aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@gmail.com>2023-04-17 23:43:34 -0500
committerGitHub <noreply@github.com>2023-04-17 23:43:34 -0500
commitece20dba120a1a4745721c49f8d7389d4b1ee2a7 (patch)
treebcf21108159d242e4067f4ef9a1304d7f10a7f8a /Mac/BuildScript
parentf39e00f9521a0d412a5fc9a50f2a553ec2bb1a7c (diff)
downloadcpython-ece20dba120a1a4745721c49f8d7389d4b1ee2a7.tar.gz
cpython-ece20dba120a1a4745721c49f8d7389d4b1ee2a7.zip
gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039)
Remove the bundled setuptools wheel from ensurepip, and stop installing setuptools in environments created by venv. Co-Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/scripts/postflight.ensurepip8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/BuildScript/scripts/postflight.ensurepip b/Mac/BuildScript/scripts/postflight.ensurepip
index 36d05945b6f..ce3c6c1c2bf 100755
--- a/Mac/BuildScript/scripts/postflight.ensurepip
+++ b/Mac/BuildScript/scripts/postflight.ensurepip
@@ -56,19 +56,19 @@ if [ -d /usr/local/bin ] ; then
cd /usr/local/bin
- # Create pipx.y and easy_install-x.y links if /usr/local/bin/pythonx.y
+ # Create pipx.y links if /usr/local/bin/pythonx.y
# is linked to this framework version
install_links_if_our_fw "python${PYVER}" \
- "pip${PYVER}" "easy_install-${PYVER}"
+ "pip${PYVER}"
# Create pipx link if /usr/local/bin/pythonx is linked to this version
install_links_if_our_fw "python${PYMAJOR}" \
"pip${PYMAJOR}"
- # Create pip and easy_install link if /usr/local/bin/python
+ # Create pip link if /usr/local/bin/python
# is linked to this version
install_links_if_our_fw "python" \
- "pip" "easy_install"
+ "pip"
)
fi
exit 0