summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--igor.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c83b562..045996a4 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ clean:
-rm -f coverage/*,cover
-rm -f MANIFEST
-rm -f .coverage .coverage.* coverage.xml .metacov*
+ -rm -f .tox/*/lib/*/site-packages/zzz_metacov.pth
-rm -f */.coverage */*/.coverage */*/*/.coverage */*/*/*/.coverage */*/*/*/*/.coverage */*/*/*/*/*/.coverage
-rm -f tests/zipmods.zip
-rm -rf tests/eggsrc/build tests/eggsrc/dist tests/eggsrc/*.egg-info
diff --git a/igor.py b/igor.py
index 39d75195..750ea688 100644
--- a/igor.py
+++ b/igor.py
@@ -106,6 +106,7 @@ def run_tests_with_coverage(tracer, *runner_args):
# Create the .pth file that will let us measure coverage in sub-processes.
# The .pth file seems to have to be alphabetically after easy-install.pth
# or the sys.path entries aren't created right?
+ # There's an entry in "make clean" to get rid of this file.
pth_dir = os.path.dirname(pytest.__file__)
pth_path = os.path.join(pth_dir, "zzz_metacov.pth")
with open(pth_path, "w") as pth_file: