Kaydet (Commit) 8dbf3649 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Generate the PatternGrammar pickle during "make install".

Fixes part of #3131.
üst dadcd1fd
...@@ -895,7 +895,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) ...@@ -895,7 +895,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
-d $(LIBDEST)/site-packages -f \ -d $(LIBDEST)/site-packages -f \
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -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.. # Create the PLATDIR source directory, if one wasn't distributed..
$(srcdir)/Lib/$(PLATDIR): $(srcdir)/Lib/$(PLATDIR):
......
...@@ -68,6 +68,11 @@ Library ...@@ -68,6 +68,11 @@ Library
file name rather than a ZipInfo instance, so files are extracted with file name rather than a ZipInfo instance, so files are extracted with
mode 0600 rather than 000 under Unix. mode 0600 rather than 000 under Unix.
Build
-----
- Generate the PatternGrammar pickle during "make install".
What's New in Python 2.6 beta 2? What's New in Python 2.6 beta 2?
================================ ================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment