]> granicus.if.org Git - python/commitdiff
Suppress warnings when byte-compiling the installed library modules.
authorGuido van Rossum <guido@python.org>
Thu, 29 Aug 2002 15:04:37 +0000 (15:04 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 29 Aug 2002 15:04:37 +0000 (15:04 +0000)
This seems the sanest thing to do.

Makefile.pre.in

index 8bb3fc629d148b2335c26bc62f77371183522640..1234dd6cbe6e5784c4ca5d01197cf0c3b5f575b7 100644 (file)
@@ -669,10 +669,11 @@ libinstall:       $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
        done
        $(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt
        PYTHONPATH=$(LIBDEST)  $(RUNSHARED) \
-               ./$(BUILDPYTHON) -tt $(LIBDEST)/compileall.py -x badsyntax \
-               $(LIBDEST)
+               ./$(BUILDPYTHON) -Wi -tt $(LIBDEST)/compileall.py \
+               -x badsyntax $(LIBDEST)
        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..
 $(srcdir)/Lib/$(PLATDIR):