Install psycopg2 with --no-binary option

This commit is contained in:
Bruno Alla 2018-02-09 13:00:20 +00:00
parent 9263297952
commit 5e93bf954d
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ django-allauth==0.35.0
# from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg
{% else %}
# Python-PostgreSQL Database Adapter
psycopg2==2.7.4
psycopg2==2.7.4 --no-binary psycopg2
{%- endif %}
# Unicode slugification

View File

@ -6,7 +6,7 @@
# Python-PostgreSQL Database Adapter
# Assuming Windows is used locally, and *nix -- in production.
# ------------------------------------------------------------
psycopg2==2.7.4
psycopg2==2.7.4 --no-binary psycopg2
{%- endif %}
# WSGI Handler