mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
Use get-pip.py
This commit is contained in:
parent
0d4cd2ce9a
commit
2dc87d7aa7
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
PKG_DEPENDENCIES="sqlite3 python-dev libldap2-dev libsasl2-dev python3-pip imagemagick"
|
||||
PKG_DEPENDENCIES="sqlite3 python-dev libldap2-dev libsasl2-dev imagemagick"
|
||||
#PKG_DEPENDENCIES="sqlite3 python3-pip imagemagick"
|
||||
DOSSIER_MEDIA=/home/yunohost.multimedia
|
||||
LOG_FILE=/var/log/$app/$app.log
|
||||
|
|
|
@ -94,6 +94,10 @@ ynh_setup_source "$final_path"
|
|||
ynh_script_progression --message="Installing package dependencies..." --weight=15
|
||||
ynh_install_app_dependencies $PKG_DEPENDENCIES
|
||||
|
||||
#use latest version of pip as per documentation in https://github.com/pypa/get-pip
|
||||
#cannot use helper as maintaining the checksum would be a pain in the a***
|
||||
curl https://bootstrap.pypa.io/get-pip.py | python3
|
||||
|
||||
ynh_script_progression --message="Installing pip requirements..." --weight=50
|
||||
pip3 install --no-cache-dir --target $final_path/vendor -r $final_path/requirements.txt
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue