summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-23 21:42:43 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-23 21:43:48 +0100
commit0aa7e21f91788457aaa71533434d9dc517ca542b (patch)
tree284f4dc19cd0566be43eca1b1c66555b8ba17d97
parenta339ec3d8fe0dbbb2895617ce18af4ea5d2c0dd1 (diff)
downloadpsycopg2-0aa7e21f91788457aaa71533434d9dc517ca542b.tar.gz
Added note adivising against depending on the -wheels package
-rw-r--r--doc/src/install.rst17
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/src/install.rst b/doc/src/install.rst
index f5524a5..f60b3c8 100644
--- a/doc/src/install.rst
+++ b/doc/src/install.rst
@@ -132,14 +132,23 @@ Binary install from PyPI
`!psycopg2` is also `available on PyPI`__ in the form of wheel_ packages for
the most common platform (Linux, OSX, Windows): this should make you able to
install a binary version of the module, not requiring the above build or
-runtime prerequisites, simply using:
+runtime prerequisites.
-.. code-block:: console
+.. note::
+
+ The ``-binary`` package is meant for beginners to start playing with
+ Python and PostgreSQL without the need to meet the build requirements.
+ If you are the maintainer of a publish package depending on `!psycopg2`
+ you shouldn't use ``psycopg2-binary`` as a module dependency. For
+ production use you are advised to use the source distribution.
- $ pip install psycopg2-binary
Make sure to use an up-to-date version of :program:`pip` (you can upgrade it
-using something like ``pip install -U pip``)
+using something like ``pip install -U pip``), then you can run:
+
+.. code-block:: console
+
+ $ pip install psycopg2-binary
.. __: PyPI-binary_
.. _PyPI-binary: https://pypi.org/project/psycopg2-binary/