diff options
-rw-r--r-- | README.rst | 12 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 11 insertions, 3 deletions
@@ -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 ----- @@ -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', |