Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None.
This commit is contained in:
parent
e564278bfd
commit
3e6d43801b
|
@ -56,7 +56,8 @@ class install_lib (Command):
|
|||
outfiles = self.install()
|
||||
|
||||
# (Optionally) compile .py to .pyc
|
||||
self.bytecompile(outfiles)
|
||||
if outfiles is not None:
|
||||
self.bytecompile(outfiles)
|
||||
|
||||
# run ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue