Commit b6dbdc5d authored by Robert Bradshaw's avatar Robert Bradshaw

Ignore non-cython modules in module list creation.

parent 139664ca
......@@ -383,6 +383,10 @@ def create_extension_list(patterns, ctx=None, aliases=None):
exn_type = Extension
elif isinstance(pattern, Extension):
filepattern = pattern.sources[0]
if os.path.splitext(filepattern)[1] not in ('.py', '.pyx'):
# ignore non-cython modules
module_list.append(pattern)
continue
template = pattern
name = template.name
base = DistutilsInfo(template)
......
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