From 8dbf3649e2e3414a84e070e3f39d67c8e114848b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 1 Aug 2008 14:10:26 +0000 Subject: [PATCH] Generate the PatternGrammar pickle during "make install". Fixes part of #3131. --- Makefile.pre.in | 2 +- Misc/NEWS | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index ffb2b0496f..d3e8535624 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -895,7 +895,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) -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): diff --git a/Misc/NEWS b/Misc/NEWS index 8aa006a471..28a99e7d0c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -68,6 +68,11 @@ Library 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? ================================ -- 2.50.1