diff --git a/conf/config.ini b/conf/config.ini index 9700243..dfe2402 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -48,7 +48,7 @@ python_exec= ; Overridden by the KRESUS_WEBOOB_DIR environment variable, if it's set. ; Example: ; srcdir=/home/ben/code/weboob -srcdir=__FINALPATH__/venv/bin/ +srcdir=__FINALPATH__/venv/lib/python2.7/site-packages/ ; Path to a file containing a valid Weboob's source list directory. ; Can be removed; defaults to "", indicating that Kresus will generate its own diff --git a/scripts/install b/scripts/install index efd888f..2043f3b 100644 --- a/scripts/install +++ b/scripts/install @@ -103,7 +103,7 @@ virtualenv "${final_path}/venv" set -o nounset pip install --upgrade pip - pip install weboob + pip install weboob html2text simplejson BeautifulSoup PyExecJS ) #================================================= @@ -114,8 +114,7 @@ ynh_use_nodejs ( cd "$final_path" chown -R $app: "$final_path" - npm install --unsafe-perm - npm run build:prod + npm install --production --unsafe-perm ) #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 397d7a2..912d039 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -113,7 +113,7 @@ virtualenv "${final_path}/venv" set -o nounset pip install --upgrade pip - pip install weboob + pip install weboob html2text simplejson BeautifulSoup PyExecJS ) #================================================= @@ -124,8 +124,7 @@ ynh_use_nodejs ( cd "$final_path" chown -R $app: "$final_path" - npm install --unsafe-perm - npm run build:prod + npm install --production --unsafe-perm ) #=================================================