Source: locust
Version: 1.4.3-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
locust could not be built reproducibly.
This is because it ships .pyc files in the examples/ directory. You
almost certainly don't want to do this anyway, so a patch is attached
that does not ship these.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2021-12-06 09:41:15.485749635 -0800
--- b/debian/rules 2021-12-06 09:45:24.193655462 -0800
@@ -19,3 +19,6 @@
override_dh_auto_test:
-PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH={build_dir}
{interpreter} -m pytest -v" dh_auto_test
+
+override_dh_installexamples:
+ dh_installexamples -X.pyc