Fix install

This commit is contained in:
Josué Tille 2022-01-18 21:30:43 +01:00
parent afd5b412c8
commit 61d3bffd60
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -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
} }