Patch from Perry Stoll: OK for list of modules to be empty.

This commit is contained in:
Greg Ward 1999-08-29 18:19:01 +00:00
parent 2f1b5bb905
commit 5d60fcf02a

View file

@ -55,6 +55,10 @@ class BuildPy (Command):
# input and output filenames and checking for missing
# input files.
# it's ok not to have *any* py files, right?
if not modules:
return
# XXX we should allow for wildcards, so eg. the Distutils setup.py
# file would just have to say
# py_modules = ['distutils.*', 'distutils.command.*']