summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.rst12
-rw-r--r--setup.py2
2 files changed, 11 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 858ce7cb..bf5cbd64 100644
--- a/README.rst
+++ b/README.rst
@@ -27,9 +27,17 @@ If you already know how to install python packages, then you can simply do:
$ brew install pgcli # Only on macOS
If you don't know how to install python packages, please check the
-`detailed instructions`__.
+`detailed instructions`_.
-__ https://github.com/dbcli/pgcli#detailed-installation-instructions
+If you have `problems with psycopg2 wheels`_, use the following flags to install psycopg2 from
+source:
+
+::
+
+ $ pip install pgcli --no-binary :all: psycopg2
+
+.. _`detailed instructions`: https://github.com/dbcli/pgcli#detailed-installation-instructions
+.. _`problems with psycopg2 wheels`: http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/
Usage
-----
diff --git a/setup.py b/setup.py
index 2b4fd6a9..119beecb 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ install_requirements = [
'click >= 4.1',
'Pygments >= 2.0', # Pygments has to be Capitalcased. WTF?
'prompt_toolkit>=1.0.10,<1.1.0',
- 'psycopg2-binary >= 2.7.4',
+ 'psycopg2 >= 2.7.4',
'sqlparse >=0.2.2,<0.3.0',
'configobj >= 5.0.6',
'humanize >= 0.5.1',