Commit graph

12 commits

Author SHA1 Message Date
Laurent Bachelier
adc4cd2c1c Use or set the DATADIR environment variable
related to e93d724ed1
2015-07-17 16:32:28 +02:00
Matthieu Weber
8103add27c 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>
2015-02-27 17:32:24 +01:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
François Revol
e25d8cabc4 Use XDG_CONFIG_HOME as fallback 2014-09-05 08:37:55 +02:00
Laurent Bachelier
da611a08f8 local_run: Allow customizing where the modules are 2014-05-26 20:07:41 +02:00
Laurent Bachelier
665e19b80b local_run: Augment existing PYTHONPATH 2013-12-30 02:47:07 +01:00
Laurent Bachelier
0441381212 local_run: Allow overriding WEBOOB_BACKENDS 2013-07-19 19:25:38 +02:00
Laurent Bachelier
1df3cb78ef Allow complete paths for script
This allows running any weboob script, not only those in scripts/
2013-05-14 10:39:03 +02:00
Laurent Bachelier
be28378e9a local_run: Do not capture stderr 2013-04-09 22:32:29 +02:00
Laurent Bachelier
bbe4473ac4 Do not copy the backends file 2013-04-05 18:50:39 +02:00
Laurent Bachelier
7b53583357 Fix local_run with empty localconfig 2013-03-25 11:10:38 +01:00
Laurent Bachelier
64119bc03f Add local_install / local_run tools 2013-03-25 11:10:38 +01:00