From: Martin v. Löwis Date: Mon, 15 Mar 2010 13:00:17 +0000 (+0000) Subject: Issue #6716: Quote -x arguments of compileall in MSI installer. X-Git-Tag: v2.7b1~350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24e4e168a0d4499c888b6180efb6758c5cde1bda;p=python Issue #6716: Quote -x arguments of compileall in MSI installer. --- diff --git a/Misc/NEWS b/Misc/NEWS index eb5b5da4e9..7c357a1f1b 100644 --- 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. diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 84215a1263..63b2399a56 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -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", [