Commit cb99c019 authored by Jeroen Demeyer's avatar Jeroen Demeyer

Sort dependencies in metadata

parent 74435af4
......@@ -687,7 +687,9 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
if template is not None:
# Always include everything from the template.
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:
kwds['language'] = ext_language
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment