diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2018-10-20 21:10:32 +0200 |
---|---|---|
committer | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2018-10-20 21:10:32 +0200 |
commit | de27e3a82552d3d8cbf665d560f670fa3989ab7f (patch) | |
tree | 193695475c38cae08d2b325eaf5d0544f88a7ac4 /setup.py | |
parent | ad96fdc7ba2c500b158ba510c00e9054732cab1b (diff) | |
download | pygobject-de27e3a82552d3d8cbf665d560f670fa3989ab7f.tar.gz |
Sort input file list
so that _gi.so builds in a reproducible way
in spite of indeterministic filesystem readdir order
See https://reproducible-builds.org/ for why this is good.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1138,7 +1138,7 @@ def main(): gi_ext = Extension( name='gi._gi', - sources=sources, + sources=sorted(sources), include_dirs=[script_dir, gi_dir], depends=list_headers(script_dir) + list_headers(gi_dir), define_macros=[("PY_SSIZE_T_CLEAN", None)], |