]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tox: Don't create '.pyc' files
authorStephen Finucane <stephenfinucane@hotmail.com>
Sat, 3 Sep 2016 19:18:02 +0000 (20:18 +0100)
committerStephen Finucane <stephenfinucane@hotmail.com>
Wed, 7 Sep 2016 19:57:58 +0000 (20:57 +0100)
commit2fe9983b5df928aff5bd55722fff49424de4b361
treebaf4bc5f7031a8efd7c7ba9dcbb0620ac0fe5ede
parent3b26c9de5f1ce59712b3e73c82087aeba13a743d
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>
tox.ini