Fix pip installation error, issue #55

This commit is contained in:
Josué Tille 2020-03-01 20:02:29 +01:00
parent 874ff38bc4
commit 2574d127bc
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -115,7 +115,7 @@ install_dependance() {
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
# 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 pip install Pillow 'moviepy<1.0' 'imageio<2.8' certifi idna
} }
ynh_clean_setup () { ynh_clean_setup () {