Source: tinyeartrainer
Version: 0.1.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: fileordering
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that tinyeartrainer could not be built reproducibly.
(This is due to iterating over the filesystem without sorting the
results.)
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/setup.py 2016-12-02 22:40:12.585847669 +0000
--- b/setup.py 2016-12-02 22:46:06.937242061 +0000
@@ -30,7 +30,7 @@
for counter in xrange(len(outputs)):
outputs[counter] = outputs[counter][root_len:]
self.execute(write_file,
- (install_info, outputs),
+ (install_info, sorted(outputs)),
"writing install-info to '%s'" % install_info)