1
0
Fork 0

Revert to psycopg2, and add instructions for no-binary install.

This commit is contained in:
Irina Truong 2018-03-23 11:11:50 -07:00
parent 7ea910236a
commit dd579cd330
2 changed files with 11 additions and 3 deletions

View File

@ -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
-----

View File

@ -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',