summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-03-16 16:19:47 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-03-16 16:19:47 (GMT)
commit4ad70df5e7b227dbb1b0db3c45223b0e35bee8be (patch)
tree6c2015c39877b667c496a9e841fce33869e1b6ac
parentb4f4e72f07dcfd4364e92709a62e2a30478cf726 (diff)
downloadcpython-4ad70df5e7b227dbb1b0db3c45223b0e35bee8be.zip
cpython-4ad70df5e7b227dbb1b0db3c45223b0e35bee8be.tar.gz
cpython-4ad70df5e7b227dbb1b0db3c45223b0e35bee8be.tar.bz2
Issue #6716/3: Exclude 2to3 tests from compileall.
-rw-r--r--Misc/NEWS1
-rw-r--r--Tools/msi/msi.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 018adf0..2b73e36 100644
--- 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.
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index fb43137..3a396ca 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -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", [