]> granicus.if.org Git - python/commitdiff
Issue #20748: Uninstalling pip does not leave behind the pyc of
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 2 Mar 2014 18:29:19 +0000 (19:29 +0100)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 2 Mar 2014 18:29:19 +0000 (19:29 +0100)
 the uninstaller anymore.

Misc/NEWS
Tools/msi/msi.py

index 172bb735a822434156aa34a7ccb677928a0addcc..054341de27f3972478a2edf82fc36f1dba85f70c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@ Core and Builtins
 Build
 -----
 
+- Issue #20748: Uninstalling pip does not leave behind the pyc of
+  the uninstaller anymore.
+
 - Issue #20568: The Windows installer now installs the unversioned ``pip``
   command in addition to the versioned ``pip3`` and ``pip3.4`` commands.
 
index f2b71482c2b28e0547046bf6169261ca06548922..2ba72e4f7299ec6be8f42f6f65bb29500e0c2030 100644 (file)
@@ -421,7 +421,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 --default-pip'
-    removepipargs = r'-m ensurepip._uninstall'
+    removepipargs = r'-B -m ensurepip._uninstall'
     # See "CustomAction Table"
     add_data(db, "CustomAction", [
         # msidbCustomActionTypeFirstSequence + msidbCustomActionTypeTextData + msidbCustomActionTypeProperty