From 4155761529a9ba5fda7ddded146320979490d37d Mon Sep 17 00:00:00 2001 From: Stanislaw Pitucha Date: Wed, 23 Jan 2013 14:37:37 +0000 Subject: Fix 'make clean' for a clean environment In a completely clean environment running 'make clean' will fail due to test/backtest.py not being in the import path. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 13bca7ec..e8399a2d 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ TEST_EGG = test/eggsrc/dist/covtestegg1-0.0.0-py*.egg clean: -rm -f *.pyd */*.pyd -rm -f *.so */*.so - python test/test_farm.py clean + PYTHONPATH=. python test/test_farm.py clean -rm -rf build coverage.egg-info dist htmlcov -rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc */*/*/*/*.pyc */*/*/*/*/*.pyc -rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo */*/*/*/*.pyo */*/*/*/*/*.pyo -- cgit v1.2.1