Permalink
Browse files

[svn r4073] r4972@delle: sbehnel | 2009-02-06 17:46:15 +0100

 honour external PYTHONPATH in Makefile

--HG--
branch : trunk
  • Loading branch information...
1 parent 4185885 commit 5c666fdb9103d7140cb666c1fe7ab3823081559e scoder committed Feb 6, 2009
Showing with 5 additions and 5 deletions.
  1. +5 −5 Makefile
View
@@ -19,15 +19,15 @@ test_build: build
test_inplace: inplace
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
- PYTHONPATH=src $(PYTHON) selftest.py
- PYTHONPATH=src $(PYTHON) selftest2.py
+ PYTHONPATH=src:$(PYTHONPATH) $(PYTHON) selftest.py
+ PYTHONPATH=src:$(PYTHONPATH) $(PYTHON) selftest2.py
test_inplace3: inplace
$(MAKE) clean
$(PYTHON3) setup.py $(SETUPFLAGS) build_ext -i
$(PYTHON3) test.py $(TESTFLAGS) $(TESTOPTS)
- PYTHONPATH=src $(PYTHON3) selftest.py
- PYTHONPATH=src $(PYTHON3) selftest2.py
+ PYTHONPATH=src:$(PYTHONPATH) $(PYTHON3) selftest.py
+ PYTHONPATH=src:$(PYTHONPATH) $(PYTHON3) selftest2.py
valgrind_test_inplace: inplace
valgrind --tool=memcheck --leak-check=full --num-callers=30 --suppressions=valgrind-python.supp \
@@ -60,7 +60,7 @@ apihtml: inplace
|| (echo "not generating epydoc API documentation")
website: inplace
- PYTHONPATH=src $(PYTHON) doc/mkhtml.py doc/html . ${LXMLVERSION}
+ PYTHONPATH=src:$(PYTHONPATH) $(PYTHON) doc/mkhtml.py doc/html . ${LXMLVERSION}
html: inplace website apihtml s5

0 comments on commit 5c666fd

Please sign in to comment.