]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #16340: exclude venv/scripts from byte-compilation at installation time on...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 28 Oct 2012 09:11:00 +0000 (09:11 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 28 Oct 2012 09:11:00 +0000 (09:11 +0000)
Tools/msi/msi.py

index 2057bebce3546df98a1844e985dfe430c002832a..2ec6951d6a9b35407799887ee943375e53935cdb 100644 (file)
@@ -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", [