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
1d20da60
Commit
1d20da60
authored
Jul 02, 2015
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #407 from jdemeyer/sort_depends
Sort dependencies in metadata
parents
74435af4
cb99c019
Changes
1
Hide 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 @
1d20da60
...
@@ -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