From 'run()', only call 'bytecompile()' if we actually have

pure Python modules to compile.
This commit is contained in:
Greg Ward 2000-10-01 23:50:13 +00:00
parent f217e2124a
commit c1acc69018

View file

@ -57,7 +57,7 @@ class install_lib (Command):
outfiles = self.install()
# (Optionally) compile .py to .pyc
if outfiles is not None:
if outfiles is not None and self.distribution.has_pure_modules():
self.bytecompile(outfiles)
# run ()