summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-16 17:17:13 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-16 18:22:41 +0000
commit30efe59af7b2cf71227b13a569a8dd780292dbd3 (patch)
treea9c3718ce76906aefdd5661439b3b48a665910bf /README.rst
parent82adf8a162949d88a4f8e98ca6ced98ed777a88f (diff)
downloadpsycopg2-30efe59af7b2cf71227b13a569a8dd780292dbd3.tar.gz
Document installation from wheel packages
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index f18be56..03c84c4 100644
--- a/README.rst
+++ b/README.rst
@@ -29,8 +29,14 @@ Documentation is included in the 'doc' directory and is `available online`__.
Installation
------------
-If all the dependencies are met (i.e. you have the Python and libpq
-development packages installed in your system) the standard::
+If your ``pip`` version supports wheel_ packages it should be possible to
+install a binary version of Psycopg including all the dependencies. Just run::
+
+ pip install psycopg2
+
+If you want to build Psycopg from source you will need some prerequisite (a C
+compiler, Python and libpq development packages). If you have what you need
+the standard::
python setup.py build
sudo python setup.py install
@@ -38,7 +44,8 @@ development packages installed in your system) the standard::
should work no problem. In case you have any problem check the 'install' and
the 'faq' documents in the docs or online__.
-.. __: http://initd.org/psycopg/docs/install.html
+.. _wheel: http://pythonwheels.com/
+.. __: http://initd.org/psycopg/docs/install.html#install-from-source
For any other resource (source code repository, bug tracker, mailing list)
please check the `project homepage`__.