Commit d0697c2f authored by Robert Bradshaw's avatar Robert Bradshaw

Cythonize fix for multiple files.

parent a51b0104
...@@ -411,10 +411,15 @@ def create_extension_list(patterns, ctx=None, aliases=None): ...@@ -411,10 +411,15 @@ def create_extension_list(patterns, ctx=None, aliases=None):
raise TypeError(pattern) raise TypeError(pattern)
for file in glob(filepattern): for file in glob(filepattern):
pkg = deps.package(file) pkg = deps.package(file)
if name == '*': if '*' in name:
name = deps.fully_qualifeid_name(file) module_name = deps.fully_qualifeid_name(file)
if name not in seen: else:
module_list.append(exn_type(name=name, sources=[file], **deps.distutils_info(file, aliases, base).values)) module_name = name
if module_name not in seen:
module_list.append(exn_type(
name=module_name,
sources=[file],
**deps.distutils_info(file, aliases, base).values))
seen.add(name) seen.add(name)
return module_list return module_list
......
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