mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
This commit is contained in:
parent
eb61f8b3a7
commit
01d183732e
2 changed files with 5 additions and 3 deletions
|
@ -937,6 +937,8 @@ LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \
|
||||||
unittest unittest/test \
|
unittest unittest/test \
|
||||||
curses pydoc_data $(MACHDEPS)
|
curses pydoc_data $(MACHDEPS)
|
||||||
libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
|
libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
|
||||||
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||||
|
./$(BUILDPYTHON) -Wi -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
|
||||||
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
||||||
do \
|
do \
|
||||||
if test ! -d $(DESTDIR)$$i; then \
|
if test ! -d $(DESTDIR)$$i; then \
|
||||||
|
@ -1014,8 +1016,6 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
|
||||||
./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
|
./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||||
-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) \
|
|
||||||
./$(BUILDPYTHON) -Wi -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):
|
||||||
|
@ -1256,7 +1256,7 @@ clean: pycremoval
|
||||||
find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
|
find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
|
||||||
find build -name 'fficonfig.h' -exec rm -f {} ';' || true
|
find build -name 'fficonfig.h' -exec rm -f {} ';' || true
|
||||||
find build -name 'fficonfig.py' -exec rm -f {} ';' || true
|
find build -name 'fficonfig.py' -exec rm -f {} ';' || true
|
||||||
-rm -f Lib/lib2to3/*Grammar*.pickle
|
-rm -f $(srcdir)/Lib/lib2to3/*Grammar*.pickle
|
||||||
-rm -f Modules/_testembed
|
-rm -f Modules/_testembed
|
||||||
|
|
||||||
profile-removal:
|
profile-removal:
|
||||||
|
|
|
@ -482,6 +482,8 @@ Tests
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #15645: Ensure 2to3 grammar pickles are properly installed.
|
||||||
|
|
||||||
- Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
|
- Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
|
||||||
|
|
||||||
- Issue #8847: Disable COMDAT folding in Windows PGO builds.
|
- Issue #8847: Disable COMDAT folding in Windows PGO builds.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue