summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2014-03-02 18:29:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2014-03-02 18:29:19 (GMT)
commit5e6faf7fed5a297633401e77445323cd313b4f4f (patch)
treeb849dc93cc5fefe3d79394fe23a2fe703b9b2df6 /Tools
parentceb04671936ab205e711fe0fc4ccedcba68e4dc0 (diff)
downloadcpython-5e6faf7fed5a297633401e77445323cd313b4f4f.zip
cpython-5e6faf7fed5a297633401e77445323cd313b4f4f.tar.gz
cpython-5e6faf7fed5a297633401e77445323cd313b4f4f.tar.bz2
Issue #20748: Uninstalling pip does not leave behind the pyc of
the uninstaller anymore.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index f2b7148..2ba72e4 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -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