mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
target libinstall:
Create the .pyo files corresponding to the .py and .pyc files as well.
This commit is contained in:
parent
ef8dc06c01
commit
db5a41f16b
1 changed files with 2 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
|
|||
done
|
||||
PYTHONPATH=$(LIBDEST) \
|
||||
./python $(LIBDEST)/compileall.py $(LIBDEST)
|
||||
PYTHONPATH=$(LIBDEST) \
|
||||
./python -O $(LIBDEST)/compileall.py $(LIBDEST)
|
||||
|
||||
# Create the MACHDEP source directory, if one wasn't distributed..
|
||||
$(srcdir)/Lib/$(MACHDEP):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue