diff options
| author | Stephen Finucane <stephenfinucane@hotmail.com> | 2016-09-03 20:18:02 +0100 |
|---|---|---|
| committer | Stephen Finucane <stephenfinucane@hotmail.com> | 2016-09-07 20:57:58 +0100 |
| commit | 2fe9983b5df928aff5bd55722fff49424de4b361 (patch) | |
| tree | baf4bc5f7031a8efd7c7ba9dcbb0620ac0fe5ede | |
| parent | 3b26c9de5f1ce59712b3e73c82087aeba13a743d (diff) | |
| download | patchwork-2fe9983b5df928aff5bd55722fff49424de4b361.tar patchwork-2fe9983b5df928aff5bd55722fff49424de4b361.tar.gz | |
tox: Don't create '.pyc' files
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 <stephenfinucane@hotmail.com>
| -rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |