mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix install
This commit is contained in:
parent
afd5b412c8
commit
61d3bffd60
1 changed files with 1 additions and 2 deletions
|
@ -32,7 +32,6 @@ 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 \
|
||||||
pycryptodome==3.12.0 cffi==1.14.0 \
|
|
||||||
python3-scipy python3-matplotlib \
|
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
|
||||||
|
@ -40,7 +39,7 @@ install_dependance() {
|
||||||
chown -R $seafile_user:$seafile_user $final_path
|
chown -R $seafile_user:$seafile_user $final_path
|
||||||
|
|
||||||
# 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 --no-warn-script-location --upgrade future mysqlclient pymysql Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha python3-ldap
|
sudo -u $seafile_user pip3 install --user --no-warn-script-location --upgrade future mysqlclient pymysql Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha python3-ldap pycryptodome==3.12.0 cffi==1.14.0
|
||||||
# TODO add dependance when upgrade to seafile 8: django==2.2.*
|
# TODO add dependance when upgrade to seafile 8: django==2.2.*
|
||||||
ynh_del_swap
|
ynh_del_swap
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue