]> granicus.if.org Git - python/commitdiff
Issue #6716: Quote -x arguments of compileall in MSI installer.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 15 Mar 2010 13:00:17 +0000 (13:00 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 15 Mar 2010 13:00:17 +0000 (13:00 +0000)
Misc/NEWS
Tools/msi/msi.py

index eb5b5da4e9b17e34a77ad607eb41f65f45504001..7c357a1f1b8d622451984370056387c14dadb4e3 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -67,6 +67,8 @@ Tools/Demos
 Build
 -----
 
+- Issue #6716: Quote -x arguments of compileall in MSI installer.
+
 - Issue #7705: Fix linking on FreeBSD.
 
 
index 84215a12631812829da844a6295be230fd0e2811..63b2399a5685d5341248a49b188f7c2d18d31453 100644 (file)
@@ -402,7 +402,7 @@ def add_ui(db):
               ("VerdanaRed9", "Verdana", 9, 255, 0),
              ])
 
-    compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x bad_coding|badsyntax|site-packages|py3_ "[TARGETDIR]Lib"'
+    compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py3_" "[TARGETDIR]Lib"'
     lib2to3args = r'-c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"'
     # See "CustomAction Table"
     add_data(db, "CustomAction", [