From 8103add27cff44b103e3a3b952f67c61e8a0d5fb Mon Sep 17 00:00:00 2001 From: Matthieu Weber Date: Wed, 11 Feb 2015 16:23:09 +0200 Subject: [PATCH] tools/local_run.sh: ignore $HOME/.local When installing weboob in $HOME, the weboob base modules (weboob.browser...) are installed in $HOME/.local/lib/python2.7/site-packages/... (see PEP-370). When running weboob from the source directory with tools/local_run.sh, those base modules are read from $HOME/.local instead of the source directory. Passing the "-s" option to python makes it ignore $HOME/.local and read the base modules from the source directory. Signed-off-by: Matthieu Weber --- tools/local_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/local_run.py b/tools/local_run.py index 7454d124..259197ed 100644 --- a/tools/local_run.py +++ b/tools/local_run.py @@ -49,5 +49,5 @@ else: os.execvpe( sys.executable, - ['-Wall', spath] + args, + ['-Wall', '-s', spath] + args, env)