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