Fix dependance for buster

This commit is contained in:
Josué Tille 2020-04-28 15:19:35 +02:00
parent 2574d127bc
commit 67e0869de2
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -112,7 +112,11 @@ extract_source() {
} }
install_dependance() { install_dependance() {
if [ "$(lsb_release --codename --short)" == "stretch" ]; then
ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev
else
ynh_install_app_dependencies python2.7 python-pip python-setuptools python-simplejson python-pil python-mysqldb python-flup expect python-requests python-dev
fi
# Upgrade setuptools for jessie because the new moviepy package is not compatible with setuptools 5.x # Upgrade setuptools for jessie because the new moviepy package is not compatible with setuptools 5.x
[ "$(lsb_release --codename --short)" = "jessie" ] && pip install --upgrade setuptools [ "$(lsb_release --codename --short)" = "jessie" ] && pip install --upgrade setuptools
pip install Pillow 'moviepy<1.0' 'imageio<2.8' certifi idna pip install Pillow 'moviepy<1.0' 'imageio<2.8' certifi idna