mirror of https://github.com/python/cpython.git
Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.
This commit is contained in:
parent
dadcd1fd50
commit
8dbf3649e2
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue