Clean up and fix cleaning of pytest generate files
authorKarl O. Pinc <kop@meme.com>
Fri, 9 Nov 2018 03:07:13 +0000 (21:07 -0600)
committerKarl O. Pinc <kop@meme.com>
Fri, 9 Nov 2018 03:18:19 +0000 (21:18 -0600)
Makefile

index 67e816f5945685cf30f15f1c9b011ff15a5f49df..7578423831fa11153b0a4245f52a9c3147717c20 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,11 +26,9 @@ VIRTUALENV=virtualenv -p ${PYTHON_EXE}
 TARGETS =
 EXTRA_TARGETS = README.html
 SETUPTOOLS_STUFF = build dist src/pgwui_logout.egg-info
-# Python 2 needs to remove *.pyc stuff
-PYTEST_STUFF = .cache .pytest_cache src/pgwui_logout/views/__pycache__ \
-            tests/__pycache__ tests/.pytest_cache \
-            tests/test_views/__pycache__ tests/test_views/.pytest_cache \
-           tests/test_views/__init__.pyc
+PYTEST_STUFF = .cache \
+            src/pgwui_logout/__pycache__ src/pgwui_logout/views/__pycache__ \
+            tests/__pycache__ tests/views/__pycache__
 COVERAGE_STUFF = .coverage
 TOX_STUFF = .tox