diff options
author | Greg Ward <gward@python.net> | 1999-08-29 18:19:01 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 1999-08-29 18:19:01 (GMT) |
commit | 5d60fcf02a7050a07067a12c7a98c8b6b1e68372 (patch) | |
tree | b44babe8e598c91092b852cd84e1d96f03dfef3e /Lib | |
parent | 2f1b5bb905c2a8a1462833635e6d912a36eae1a9 (diff) | |
download | cpython-5d60fcf02a7050a07067a12c7a98c8b6b1e68372.zip cpython-5d60fcf02a7050a07067a12c7a98c8b6b1e68372.tar.gz cpython-5d60fcf02a7050a07067a12c7a98c8b6b1e68372.tar.bz2 |
Patch from Perry Stoll: OK for list of modules to be empty.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/build_py.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index d956eef..d75bf3f 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -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.*'] |