Commit a29eafa6 authored by Guido van Rossum's avatar Guido van Rossum

Suppress warnings when byte-compiling the installed library modules.

This seems the sanest thing to do.
parent f0253f2b
...@@ -669,10 +669,11 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR) ...@@ -669,10 +669,11 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
done done
$(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt $(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \ PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
./$(BUILDPYTHON) -tt $(LIBDEST)/compileall.py -x badsyntax \ ./$(BUILDPYTHON) -Wi -tt $(LIBDEST)/compileall.py \
$(LIBDEST) -x badsyntax $(LIBDEST)
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \ PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
./$(BUILDPYTHON) -O $(LIBDEST)/compileall.py -x badsyntax $(LIBDEST) ./$(BUILDPYTHON) -Wi -tt -O $(LIBDEST)/compileall.py \
-x badsyntax $(LIBDEST)
# 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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment