Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8622f09d
Commit
8622f09d
authored
Aug 22, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
parent
e565cf80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Makefile.pre.in
Makefile.pre.in
+3
-3
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Makefile.pre.in
View file @
8622f09d
...
...
@@ -879,6 +879,8 @@ LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \
lib-old
\
curses pydoc_data
$(MACHDEPS)
libinstall
:
build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
-
PYTHONPATH
=
$(DESTDIR)$(LIBDEST)
$(RUNSHARED)
\
./
$(BUILDPYTHON)
-Wi
-t
-c
"import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
@
for
i
in
$(SCRIPTDIR)
$(LIBDEST)
;
\
do
\
if
test
!
-d
$(DESTDIR)$$
i
;
then
\
...
...
@@ -956,8 +958,6 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
./
$(BUILDPYTHON)
-Wi
-t
-O
$(DESTDIR)$(LIBDEST)
/compileall.py
\
-d
$(LIBDEST)
/site-packages
-f
\
-x
badsyntax
$(DESTDIR)$(LIBDEST)
/site-packages
-
PYTHONPATH
=
$(DESTDIR)$(LIBDEST)
$(RUNSHARED)
\
./
$(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)
:
...
...
@@ -1195,7 +1195,7 @@ clean: pycremoval
find
.
-name
'*.so.[0-9]*.[0-9]*'
-exec
rm
-f
{}
';'
find build
-name
'fficonfig.h'
-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
profile-removal
:
find
.
-name
'*.gc??'
-exec
rm
-f
{}
';'
...
...
Misc/NEWS
View file @
8622f09d
...
...
@@ -353,6 +353,8 @@ Tests
Build
-----
-
Issue
#
15645
:
Ensure
2
to3
grammar
pickles
are
properly
installed
.
-
Issue
#
15560
:
Fix
building
_sqlite3
extension
on
OS
X
with
an
SDK
.
-
Issue
#
8847
:
Disable
COMDAT
folding
in
Windows
PGO
builds
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment