From ed2c5bc3c26ba558637c0aff18a36a3c30cd6217 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Sat, 27 May 2017 08:07:03 +0200 Subject: [PATCH] sort input files when building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output, thus without the patch, builds (in disposable VMs) would differ. See https://reproducible-builds.org/ for why this matters. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dabb917..79cb561 100644 --- a/setup.py +++ b/setup.py @@ -182,7 +182,7 @@ def platform_config(): ext_modules = [ Extension( "spidermonkey", - sources=find_sources(), + sources=sorted(find_sources()), **platform_config() ) ],