diff options
author | Greg Ward <gward@python.net> | 1999-08-29 18:19:01 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 1999-08-29 18:19:01 +0000 |
commit | 5d60fcf02a7050a07067a12c7a98c8b6b1e68372 (patch) | |
tree | b44babe8e598c91092b852cd84e1d96f03dfef3e | |
parent | 2f1b5bb905c2a8a1462833635e6d912a36eae1a9 (diff) | |
download | cpython-git-5d60fcf02a7050a07067a12c7a98c8b6b1e68372.tar.gz |
Patch from Perry Stoll: OK for list of modules to be empty.
-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 d956eef396..d75bf3f615 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.*'] |