mirror of
https://github.com/YunoHost-Apps/13ft_ynh.git
synced 2024-09-03 18:06:03 +02:00
Merge pull request #6 from YunoHost-Apps/testing
add "requests" dependency
This commit is contained in:
commit
4c127b5475
5 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue