1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Work around pip>10 bug with ihm<3.x

See https://github.com/spiral-project/ihatemoney/pull/341

Inspired by #28 thanks @klorydryk :-).
This commit is contained in:
Jocelyn Delalande 2018-12-18 19:23:09 +01:00
parent daa8266d13
commit 533f8824be

View file

@ -34,6 +34,11 @@ create_system_dirs() {
init_virtualenv () { init_virtualenv () {
sudo virtualenv /opt/yunohost/ihatemoney/venv --python /usr/bin/python3 sudo virtualenv /opt/yunohost/ihatemoney/venv --python /usr/bin/python3
# Will no longer be necessary for ihm>=3.x
# https://github.com/spiral-project/ihatemoney/blob/master/CHANGELOG.rst#fixed
sudo /opt/yunohost/ihatemoney/venv/bin/pip install 'pip<10'
# PyMySQL → cryptography → setuptools>=18.5 # PyMySQL → cryptography → setuptools>=18.5
# Required on Jessie, Stretch has setuptools>=18.5 # Required on Jessie, Stretch has setuptools>=18.5
/opt/yunohost/ihatemoney/venv/bin/pip install 'setuptools>=18.5' /opt/yunohost/ihatemoney/venv/bin/pip install 'setuptools>=18.5'