diff --git a/README.md b/README.md index e1ac954..b937241 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ https://github.com/wasi-master/13ft - Provide *some* web articles that are normally protected by paywalls. -**Shipped version:** 0.1.1~ynh4 +**Shipped version:** 0.1.1~ynh5 ## Disclaimers / important information diff --git a/README_fr.md b/README_fr.md index 9506ba3..eb91bb3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -22,7 +22,7 @@ https://github.com/wasi-master/13ft - Provide *some* web articles that are normally protected by paywalls. -**Version incluse :** 0.1.1~ynh4 +**Version incluse :** 0.1.1~ynh5 ## Avertissements / informations importantes diff --git a/manifest.json b/manifest.json index 19c7cb3..1a4dc89 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Bypass paywall by acting as GoogleBot", "fr": "Contourner les paywall en vous faisant passer pour GoogleBot" }, - "version": "0.1.1~ynh4", + "version": "0.1.1~ynh5", "url": "https://github.com/wasi-master/13ft", "upstream": { "license": "MIT", diff --git a/scripts/install b/scripts/install index 27ae58a..0c63680 100755 --- a/scripts/install +++ b/scripts/install @@ -87,6 +87,7 @@ pushd $final_path python3 -m venv venv venv/bin/pip install --upgrade pip venv/bin/pip install -r requirements.txt # should only be flask for now, but just in case + venv/bin/pip install requests popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9ca2306..e7e66ea 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,6 +126,19 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=1 ynh_install_app_dependencies $pkg_dependencies +#================================================= +# INSTALL PYTHON DEPENDENCIES +#================================================= + +ynh_script_progression --message="Installing python dependencies..." --weight=1 + +pushd $final_path + python3 -m venv venv + venv/bin/pip install --upgrade pip + venv/bin/pip install -r requirements.txt # should only be flask for now, but just in case + venv/bin/pip install requests +popd + #================================================= # NGINX CONFIGURATION #=================================================