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

Skip to content

Commit 582538b

Browse files
committed
Issue #20748: Uninstalling pip does not leave behind the pyc of
the uninstaller anymore.
1 parent 75512c4 commit 582538b

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
@@ -15,6 +15,9 @@ Core and Builtins
1515
Build
1616
-----
1717

18+
- Issue #20748: Uninstalling pip does not leave behind the pyc of
19+
the uninstaller anymore.
20+
1821
- Issue #20568: The Windows installer now installs the unversioned ``pip``
1922
command in addition to the versioned ``pip3`` and ``pip3.4`` commands.
2023

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)