In '8e58c29', code was added to delete '.pyc' files. However, this was later reverted in '9fd161' due to the increase in run time that this incurred. However, the need to avoid stale '.pyc' files still exists. To resolve this, add the 'PYTHONDONTWRITEBYTECODE' environment option to disable generation of these files. This includes a slight performance increase.
Signed-off-by: Stephen Finucane <[email protected]> --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index c2edd97..1d20343 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ deps = django19: django>=1.9,<1.10 setenv = DJANGO_SETTINGS_MODULE = patchwork.settings.dev + PYTHONDONTWRITEBYTECODE = 1 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST -- 2.7.4 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
