summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2018-10-20 21:10:32 +0200
committerBernhard M. Wiedemann <bwiedemann@suse.de>2018-10-20 21:10:32 +0200
commitde27e3a82552d3d8cbf665d560f670fa3989ab7f (patch)
tree193695475c38cae08d2b325eaf5d0544f88a7ac4 /setup.py
parentad96fdc7ba2c500b158ba510c00e9054732cab1b (diff)
downloadpygobject-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-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 6dee64fe..902aab25 100755
--- a/setup.py
+++ b/setup.py
@@ -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)],