[pygobject: 1/2] Sort input file list
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject: 1/2] Sort input file list
- Date: Sat, 20 Oct 2018 20:55:58 +0000 (UTC)
commit de27e3a82552d3d8cbf665d560f670fa3989ab7f
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: Sat Oct 20 21:10:32 2018 +0200
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.
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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)],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]