Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
f3d3f82b
Commit
f3d3f82b
authored
Mar 04, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop warning about explicitly named modules for cythonize([Extension('modulename', ...)]).
Closes #2128.
parent
954e7d2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+2
-4
No files found.
Cython/Build/Dependencies.py
View file @
f3d3f82b
...
...
@@ -781,11 +781,9 @@ 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'
:
raise
ValueError
(
'cython is a special module, cannot be used as a module name'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment