mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix dependances for build python modules
This commit is contained in:
parent
523c2fd6bd
commit
d8a8eacc8d
1 changed files with 2 additions and 0 deletions
|
@ -32,10 +32,12 @@ install_dependance() {
|
||||||
ynh_install_app_dependencies python3 python3-setuptools python3-pip python3-requests python3-dev libmariadb-dev-compat libmariadb-dev \
|
ynh_install_app_dependencies python3 python3-setuptools python3-pip python3-requests python3-dev libmariadb-dev-compat libmariadb-dev \
|
||||||
expect ffmpeg \
|
expect ffmpeg \
|
||||||
memcached libmemcached-dev \
|
memcached libmemcached-dev \
|
||||||
|
python3-scipy python3-matplotlib \
|
||||||
libjpeg62-turbo-dev zlib1g-dev # For building pillow
|
libjpeg62-turbo-dev zlib1g-dev # For building pillow
|
||||||
ynh_add_swap 2000
|
ynh_add_swap 2000
|
||||||
# We need to do that because we can have some issue about the permission access to the pip cache without this
|
# We need to do that because we can have some issue about the permission access to the pip cache without this
|
||||||
set_permission
|
set_permission
|
||||||
|
|
||||||
# Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5
|
# Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5
|
||||||
sudo -u $seafile_user pip3 install --user --upgrade django==2.2.* future mysqlclient pymysql Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha
|
sudo -u $seafile_user pip3 install --user --upgrade django==2.2.* future mysqlclient pymysql Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha
|
||||||
ynh_del_swap
|
ynh_del_swap
|
||||||
|
|
Loading…
Add table
Reference in a new issue