[Python-modules-commits] [python-psutil] 04/08: pass PYTHONPATH to the test runner
Sandro Tosi
morph at moszumanska.debian.org
Mon Dec 11 02:14:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository python-psutil.
commit 0265cee5a90d1c1195ef54568b0cb4061e668344
Author: Sandro Tosi <morph at debian.org>
Date: Sun Apr 10 13:17:47 2016 +0100
pass PYTHONPATH to the test runner
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4aea76f..6b7671c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
# You can set the variables below from the command line.
PYTHON = python
+PYTHONPATH = .
TSCRIPT = psutil/tests/__main__.py
ARGS =
# List of nice-to-have dev libs.
@@ -26,7 +27,7 @@ DEPS = \
# In not in a virtualenv, add --user options for install commands.
INSTALL_OPTS = `$(PYTHON) -c "import sys; print('' if hasattr(sys, 'real_prefix') else '--user')"`
-TEST_PREFIX = PYTHONWARNINGS=all PSUTIL_TESTING=1 PSUTIL_DEBUG=1
+TEST_PREFIX = PYTHONWARNINGS=all PSUTIL_TESTING=1 PSUTIL_DEBUG=1 PYTHONPATH=$(PYTHONPATH)
all: test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-psutil.git
More information about the Python-modules-commits
mailing list