[pygobject/pygobject-3-30] Sort input file list
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/pygobject-3-30] Sort input file list
- Date: Sun, 11 Nov 2018 22:34:43 +0000 (UTC)
commit 83f9c90befe964c91ea21dab9b9ea24948fd5715
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 51b69cd0..1a6620a8 100755
--- a/setup.py
+++ b/setup.py
@@ -1173,7 +1173,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]