[Python-checkins] cpython (3.3): Issue #16340: exclude venv/scripts from byte-compilation at installation time

vinay.sajip python-checkins at python.org
Sun Oct 28 10:12:02 CET 2012


http://hg.python.org/cpython/rev/06a5fe86d87c
changeset:   80005:06a5fe86d87c
branch:      3.3
parent:      80000:51f292067714
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Sun Oct 28 09:11:00 2012 +0000
summary:
  Issue #16340: exclude venv/scripts from byte-compilation at installation time on Windows.

files:
  Tools/msi/msi.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -415,7 +415,7 @@
               ("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", [

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list