From: Vinay Sajip Date: Sun, 28 Oct 2012 09:11:00 +0000 (+0000) Subject: Issue #16340: exclude venv/scripts from byte-compilation at installation time on... X-Git-Tag: v3.3.1rc1~729^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65e2bef4f0dd1e39915be45e219d82bf25e7d5e4;p=thirdparty%2FPython%2Fcpython.git Issue #16340: exclude venv/scripts from byte-compilation at installation time on Windows. --- diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 2057bebce354..2ec6951d6a9b 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -415,7 +415,7 @@ def add_ui(db): ("VerdanaRed9", "Verdana", 9, 255, 0), ]) - compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests" "[TARGETDIR]Lib"' + 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()"' # See "CustomAction Table" add_data(db, "CustomAction", [