[weboob] [PATCH 1/1] tools/local_run.sh: ignore $HOME/.local

Matthieu Weber mweber+weboob at free.fr
Wed Feb 11 15:23:09 CET 2015

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 <mweber+weboob at free.fr>
 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 7454d12..259197e 100644
--- a/tools/local_run.py
+++ b/tools/local_run.py
@@ -49,5 +49,5 @@ else:
-    ['-Wall', spath] + args,
+    ['-Wall', '-s', spath] + args,

More information about the weboob mailing list