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
cb99c019
Commit
cb99c019
authored
Jul 02, 2015
by
Jeroen Demeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort dependencies in metadata
parent
74435af4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+3
-1
No files found.
Cython/Build/Dependencies.py
View file @
cb99c019
...
@@ -687,7 +687,9 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
...
@@ -687,7 +687,9 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
if
template
is
not
None
:
if
template
is
not
None
:
# Always include everything from the template.
# Always include everything from the template.
depends
=
list
(
set
(
template
.
depends
).
union
(
set
(
depends
)))
depends
=
list
(
set
(
template
.
depends
).
union
(
set
(
depends
)))
kwds
[
'depends'
]
=
depends
# Sort depends to make the metadata dump in the
# Cython-generated C code predictable.
kwds
[
'depends'
]
=
sorted
(
depends
)
if
ext_language
and
'language'
not
in
kwds
:
if
ext_language
and
'language'
not
in
kwds
:
kwds
[
'language'
]
=
ext_language
kwds
[
'language'
]
=
ext_language
...
...
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