Commit f3d3f82b authored by Stefan Behnel's avatar Stefan Behnel

Stop warning about explicitly named modules for cythonize([Extension('modulename', ...)]).

Closes #2128.
parent 954e7d2a
......@@ -781,9 +781,7 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet=
if '*' in name:
if module_name in explicit_modules:
continue
elif name != module_name:
print("Warning: Extension name '%s' does not match fully qualified name '%s' of '%s'" % (
name, module_name, file))
elif name:
module_name = name
if module_name == 'cython':
......
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