Commit 1451b3d7 authored by Greg Ward's avatar Greg Ward

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

parent f8ca52e7
...@@ -55,6 +55,10 @@ class BuildPy (Command): ...@@ -55,6 +55,10 @@ class BuildPy (Command):
# input and output filenames and checking for missing # input and output filenames and checking for missing
# input files. # 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 # XXX we should allow for wildcards, so eg. the Distutils setup.py
# file would just have to say # file would just have to say
# py_modules = ['distutils.*', 'distutils.command.*'] # py_modules = ['distutils.*', 'distutils.command.*']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment