Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db5a41f

Browse files
committed
target libinstall:
Create the .pyo files corresponding to the .py and .pyc files as well.
1 parent ef8dc06 commit db5a41f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
265265
done
266266
PYTHONPATH=$(LIBDEST) \
267267
./python $(LIBDEST)/compileall.py $(LIBDEST)
268+
PYTHONPATH=$(LIBDEST) \
269+
./python -O $(LIBDEST)/compileall.py $(LIBDEST)
268270

269271
# Create the MACHDEP source directory, if one wasn't distributed..
270272
$(srcdir)/Lib/$(MACHDEP):

0 commit comments

Comments
 (0)