Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f808df3

Browse files
committed
Close #20568: install unversioned pip command on Windows
1 parent 4a6dc3a commit f808df3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ Tests
3434
Build
3535
-----
3636

37+
- Issue #20568: The Windows installer now installs the unversioned ``pip``
38+
command in addition to the versioned ``pip3`` and ``pip3.4`` commands.
39+
3740
- Issue #20757: The ensurepip helper for the Windows uninstaller now skips
3841
uninstalling pip (rather than failing) if the user has updated pip to a
3942
different version from the one bundled with ensurepip.

Tools/msi/msi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def add_ui(db):
420420

421421
compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests|venv\\scripts" "[TARGETDIR]Lib"'
422422
lib2to3args = r'-c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"'
423-
updatepipargs = r'-m ensurepip -U'
423+
updatepipargs = r'-m ensurepip -U --default-install'
424424
removepipargs = r'-m ensurepip._uninstall'
425425
# See "CustomAction Table"
426426
add_data(db, "CustomAction", [

0 commit comments

Comments
 (0)