From: Martin v. Löwis Date: Thu, 6 Jul 2006 07:05:21 +0000 (+0000) Subject: Properly quote compileall and Lib paths in case TARGETDIR has a space. X-Git-Tag: v2.5b2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cbd05c322d7ebb95b3623fe8e24b5e6bab7492c;p=python Properly quote compileall and Lib paths in case TARGETDIR has a space. --- diff --git a/Misc/NEWS b/Misc/NEWS index 3de28233e4..b3fc3e1c36 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -89,6 +89,9 @@ Extension Modules Build ----- +- The MSI compileall step was fixed to also support a TARGETDIR + with spaces in it. + - Bug #1517388: sqlite3.dll is now installed on Windows independent of Tcl/Tk. diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index c65c6bc2bb..aebab9836a 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -367,7 +367,7 @@ def add_ui(db): ("VerdanaRed9", "Verdana", 9, 255, 0), ]) - compileargs = r"-Wi [TARGETDIR]Lib\compileall.py -f -x bad_coding|badsyntax|site-packages [TARGETDIR]Lib" + compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x bad_coding|badsyntax|site-packages "[TARGETDIR]Lib"' # See "CustomAction Table" add_data(db, "CustomAction", [ # msidbCustomActionTypeFirstSequence + msidbCustomActionTypeTextData + msidbCustomActionTypeProperty