From 054e4e023addd996e832c6164cd4816a66f6234d Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Fri, 21 Jul 2017 05:14:46 +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 usually differ. See https://reproducible-builds.org/ for why this matters. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 3d7543ab..bac09236 100644 --- a/setup.py +++ b/setup.py @@ -141,6 +141,7 @@ def restore_cencode(): else: link_flags = ['-fPIC', '-lstdc++'] +sources.sort() sass_extension = Extension( '_sass', sources,