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 <mweber+weboob@free.fr>
This commit is contained in:
parent
aa794ab035
commit
8103add27c
1 changed files with 1 additions and 1 deletions
|
|
@ -49,5 +49,5 @@ else:
|
|||
|
||||
os.execvpe(
|
||||
sys.executable,
|
||||
['-Wall', spath] + args,
|
||||
['-Wall', '-s', spath] + args,
|
||||
env)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue