Commit 1f24710e authored by Stefan Behnel's avatar Stefan Behnel

make JSON dict order predictable for build metadata

parent 65408e6c
...@@ -553,7 +553,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -553,7 +553,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("") code.putln("")
if metadata: if metadata:
code.putln("/* BEGIN: Cython Metadata") code.putln("/* BEGIN: Cython Metadata")
code.putln(json.dumps(metadata, indent=4)) code.putln(json.dumps(metadata, indent=4, sort_keys=True))
code.putln("END: Cython Metadata */") code.putln("END: Cython Metadata */")
code.putln("") code.putln("")
code.putln("#define PY_SSIZE_T_CLEAN") code.putln("#define PY_SSIZE_T_CLEAN")
......
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