mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.
This commit is contained in:
parent
dadcd1fd50
commit
8dbf3649e2
2 changed files with 6 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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?
|
||||
================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue