mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
Patch from Perry Stoll: OK for list of modules to be empty.
This commit is contained in:
parent
2f1b5bb905
commit
5d60fcf02a
1 changed files with 4 additions and 0 deletions
|
@ -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.*']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue