]> granicus.if.org Git - python/commitdiff
Issue #6716/3: Exclude 2to3 tests from compileall.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 16 Mar 2010 16:19:47 +0000 (16:19 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 16 Mar 2010 16:19:47 +0000 (16:19 +0000)
Misc/NEWS
Tools/msi/msi.py

index 018adf07b0420a9fd947aca20225ca9b6c030fbf..2b73e368815754f893a3729800bfc351d22aecbd 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -838,6 +838,7 @@ Build
 -----
 
 - Issue #6716: Quote -x arguments of compileall in MSI installer.
+  Exclude 2to3 tests from compileall.
 
 - Issue #3920, #7903: Define _BSD_SOURCE on OpenBSD 4.4 through 4.9.
 
index fb431378e7ea90983ed6cb22aead088fb7888649..3a396ca5ec09799c5c1b70a050ebdb512515c720 100644 (file)
@@ -404,7 +404,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_" "[TARGETDIR]Lib"'
+    compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests" "[TARGETDIR]Lib"'
     lib2to3args = r'-c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"'
     # See "CustomAction Table"
     add_data(db, "CustomAction", [