[Python-checkins] r65368 - in python/trunk: Makefile.pre.in Misc/NEWS

martin.v.loewis python-checkins at python.org
Fri Aug 1 16:10:27 CEST 2008


Author: martin.v.loewis
Date: Fri Aug  1 16:10:26 2008
New Revision: 65368

Log:
Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.


Modified:
   python/trunk/Makefile.pre.in
   python/trunk/Misc/NEWS

Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Fri Aug  1 16:10:26 2008
@@ -895,7 +895,7 @@
 		-d $(LIBDEST)/site-packages -f \
 		-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
 	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
-		./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram"
+		./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
 
 # Create the PLATDIR source directory, if one wasn't distributed..
 $(srcdir)/Lib/$(PLATDIR):

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Fri Aug  1 16:10:26 2008
@@ -68,6 +68,11 @@
   file name rather than a ZipInfo instance, so files are extracted with
   mode 0600 rather than 000 under Unix.
 
+Build
+-----
+
+- Generate the PatternGrammar pickle during "make install".
+
 
 What's New in Python 2.6 beta 2?
 ================================


More information about the Python-checkins mailing list