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

Skip to content

Commit 5e6faf7

Browse files
committed
Issue #20748: Uninstalling pip does not leave behind the pyc of
the uninstaller anymore.
1 parent ceb0467 commit 5e6faf7

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
@@ -42,6 +42,9 @@ Tests
4242
Build
4343
-----
4444

45+
- Issue #20748: Uninstalling pip does not leave behind the pyc of
46+
the uninstaller anymore.
47+
4548
- Issue #20568: The Windows installer now installs the unversioned ``pip``
4649
command in addition to the versioned ``pip3`` and ``pip3.4`` commands.
4750

Tools/msi/msi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def add_ui(db):
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()"'
423423
updatepipargs = r'-m ensurepip -U --default-pip'
424-
removepipargs = r'-m ensurepip._uninstall'
424+
removepipargs = r'-B -m ensurepip._uninstall'
425425
# See "CustomAction Table"
426426
add_data(db, "CustomAction", [
427427
# msidbCustomActionTypeFirstSequence + msidbCustomActionTypeTextData + msidbCustomActionTypeProperty

0 commit comments

Comments
 (0)