summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-02-28 13:37:35 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-02-28 13:37:35 (GMT)
commit07d843a101726b01a2dbdb7183ebc8fbc8a5f6e4 (patch)
treebb094572ae02a6b4cfb503d2fdf5627bc869a950
parenta46cf12e9956dbb0fa84cc1d7e8b81d4d2f7c55a (diff)
downloadcpython-07d843a101726b01a2dbdb7183ebc8fbc8a5f6e4.zip
cpython-07d843a101726b01a2dbdb7183ebc8fbc8a5f6e4.tar.gz
cpython-07d843a101726b01a2dbdb7183ebc8fbc8a5f6e4.tar.bz2
Close #20568: install unversioned pip command on Windows
-rw-r--r--Misc/NEWS3
-rw-r--r--Tools/msi/msi.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 554de26..343a0b7 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 8409b81..038050b 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", [