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
8115a1fb
Commit
8115a1fb
authored
Mar 15, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace
--HG-- extra : transplant_source : %09s%F6xN%DA%40%C4%2Cs%19%8C%C0%CD%25rc%ADv%D7
parent
a7340e86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+4
-0
No files found.
Cython/Build/Dependencies.py
View file @
8115a1fb
...
@@ -582,6 +582,7 @@ def create_dependency_tree(ctx=None, quiet=False):
...
@@ -582,6 +582,7 @@ def create_dependency_tree(ctx=None, quiet=False):
_dep_tree
=
DependencyTree
(
ctx
,
quiet
=
quiet
)
_dep_tree
=
DependencyTree
(
ctx
,
quiet
=
quiet
)
return
_dep_tree
return
_dep_tree
# This may be useful for advanced users?
# This may be useful for advanced users?
def
create_extension_list
(
patterns
,
exclude
=
[],
ctx
=
None
,
aliases
=
None
,
quiet
=
False
,
exclude_failures
=
False
):
def
create_extension_list
(
patterns
,
exclude
=
[],
ctx
=
None
,
aliases
=
None
,
quiet
=
False
,
exclude_failures
=
False
):
if
not
isinstance
(
patterns
,
(
list
,
tuple
)):
if
not
isinstance
(
patterns
,
(
list
,
tuple
)):
...
@@ -594,6 +595,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
...
@@ -594,6 +595,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
exclude
=
[
exclude
]
exclude
=
[
exclude
]
for
pattern
in
exclude
:
for
pattern
in
exclude
:
to_exclude
.
update
(
map
(
os
.
path
.
abspath
,
extended_iglob
(
pattern
)))
to_exclude
.
update
(
map
(
os
.
path
.
abspath
,
extended_iglob
(
pattern
)))
module_list
=
[]
module_list
=
[]
for
pattern
in
patterns
:
for
pattern
in
patterns
:
if
isinstance
(
pattern
,
str
):
if
isinstance
(
pattern
,
str
):
...
@@ -616,6 +618,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
...
@@ -616,6 +618,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
exn_type
=
template
.
__class__
exn_type
=
template
.
__class__
else
:
else
:
raise
TypeError
(
pattern
)
raise
TypeError
(
pattern
)
for
file
in
extended_iglob
(
filepattern
):
for
file
in
extended_iglob
(
filepattern
):
if
os
.
path
.
abspath
(
file
)
in
to_exclude
:
if
os
.
path
.
abspath
(
file
)
in
to_exclude
:
continue
continue
...
@@ -661,6 +664,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
...
@@ -661,6 +664,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
seen
.
add
(
name
)
seen
.
add
(
name
)
return
module_list
return
module_list
# This is the user-exposed entry point.
# This is the user-exposed entry point.
def
cythonize
(
module_list
,
exclude
=
[],
nthreads
=
0
,
aliases
=
None
,
quiet
=
False
,
force
=
False
,
def
cythonize
(
module_list
,
exclude
=
[],
nthreads
=
0
,
aliases
=
None
,
quiet
=
False
,
force
=
False
,
exclude_failures
=
False
,
**
options
):
exclude_failures
=
False
,
**
options
):
...
...
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