[Python-checkins] cpython (3.4): Issue #20748: Uninstalling pip does not leave behind the pyc of

larry.hastings python-checkins at python.org
Mon Mar 17 07:33:13 CET 2014


http://hg.python.org/cpython/rev/b018a33c7db4
changeset:   89781:b018a33c7db4
branch:      3.4
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Sun Mar 02 19:29:19 2014 +0100
summary:
   Issue #20748: Uninstalling pip does not leave behind the pyc of
 the uninstaller anymore.

files:
  Misc/NEWS        |  3 +++
  Tools/msi/msi.py |  2 +-
  2 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@
 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.
 
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -421,7 +421,7 @@
     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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list