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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
ef57fb78
Commit
ef57fb78
authored
Apr 15, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
0fac7569
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+3
-3
No files found.
Cython/Build/Dependencies.py
View file @
ef57fb78
...
@@ -652,11 +652,11 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet=
...
@@ -652,11 +652,11 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet=
# workaround for setuptools
# workaround for setuptools
if
'setuptools'
in
sys
.
modules
:
if
'setuptools'
in
sys
.
modules
:
Extension_d
u
stutils
=
sys
.
modules
[
'setuptools.extension'
].
_Extension
Extension_d
i
stutils
=
sys
.
modules
[
'setuptools.extension'
].
_Extension
Extension_setuptools
=
sys
.
modules
[
'setuptools'
].
Extension
Extension_setuptools
=
sys
.
modules
[
'setuptools'
].
Extension
else
:
else
:
# dummy class, in case we do not have setuptools
# dummy class, in case we do not have setuptools
Extension_d
u
stutils
=
Extension
Extension_d
i
stutils
=
Extension
class
Extension_setuptools
(
Extension
):
pass
class
Extension_setuptools
(
Extension
):
pass
for
pattern
in
patterns
:
for
pattern
in
patterns
:
...
@@ -667,7 +667,7 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet=
...
@@ -667,7 +667,7 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet=
base
=
None
base
=
None
exn_type
=
Extension
exn_type
=
Extension
ext_language
=
language
ext_language
=
language
elif
isinstance
(
pattern
,
(
Extension_d
u
stutils
,
Extension_setuptools
)):
elif
isinstance
(
pattern
,
(
Extension_d
i
stutils
,
Extension_setuptools
)):
for
filepattern
in
pattern
.
sources
:
for
filepattern
in
pattern
.
sources
:
if
os
.
path
.
splitext
(
filepattern
)[
1
]
in
(
'.py'
,
'.pyx'
):
if
os
.
path
.
splitext
(
filepattern
)[
1
]
in
(
'.py'
,
'.pyx'
):
break
break
...
...
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