diff --git a/scripts/_common.sh b/scripts/_common.sh index 4b92e55..3ceba0f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -34,6 +34,11 @@ create_system_dirs() { init_virtualenv () { 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 # Required on Jessie, Stretch has setuptools>=18.5 /opt/yunohost/ihatemoney/venv/bin/pip install 'setuptools>=18.5'