From: Nick Coghlan Date: Fri, 28 Feb 2014 13:37:35 +0000 (+1000) Subject: Close #20568: install unversioned pip command on Windows X-Git-Tag: v3.4.0rc3~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07d843a101726b01a2dbdb7183ebc8fbc8a5f6e4;p=python Close #20568: install unversioned pip command on Windows --- diff --git a/Misc/NEWS b/Misc/NEWS index 554de26ee6..343a0b7a79 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,9 @@ Release date: 2014-03-09 Build ----- +- Issue #20568: The Windows installer now installs the unversioned ``pip`` + command in addition to the versioned ``pip3`` and ``pip3.4`` commands. + - Issue #20757: The ensurepip helper for the Windows uninstaller now skips uninstalling pip (rather than failing) if the user has updated pip to a different version from the one bundled with ensurepip. diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 8409b81d17..038050b05e 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -420,7 +420,7 @@ def add_ui(db): compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests|venv\\scripts" "[TARGETDIR]Lib"' lib2to3args = r'-c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"' - updatepipargs = r'-m ensurepip -U' + updatepipargs = r'-m ensurepip -U --default-install' removepipargs = r'-m ensurepip._uninstall' # See "CustomAction Table" add_data(db, "CustomAction", [