Klaus Demo bjoern / 7e4227e
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. Bernhard M. Wiedemann 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22 from setuptools import setup, Extension
33
44 SOURCE_FILES = [os.path.join('http-parser', 'http_parser.c')] + \
5 glob.glob(os.path.join('bjoern', '*.c'))
5 sorted(glob.glob(os.path.join('bjoern', '*.c')))
66
77 bjoern_extension = Extension(
88 '_bjoern',