diff --git a/scripts/install b/scripts/install index fb2c063..e15b7d1 100755 --- a/scripts/install +++ b/scripts/install @@ -187,7 +187,7 @@ virtualenv "${final_path}/venv" # prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers" pip install --upgrade setuptools pip install Weblate=="$current_version" - pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns psycopg2 python-memcached phply + pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns psycopg2-binary python-memcached phply # specific to YunoHost package: pip install django_sendmail_backend ) diff --git a/scripts/upgrade b/scripts/upgrade index 4173808..857a08d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -162,7 +162,7 @@ settings_diff="$final_path/settings.${previous_version}_${current_version}.diff" # prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers" pip install --upgrade setuptools pip install Weblate=="$current_version" - pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns psycopg2 python-memcached phply + pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns psycopg2-binary python-memcached phply # specific to YunoHost package: pip install django_sendmail_backend )