From: Daniele Varrazzo Date: Mon, 30 Aug 2021 04:34:40 +0000 (+0200) Subject: Instructions for PyPI installation in the readme X-Git-Tag: 3.0~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12627b9fc6aee040487ef8734295214c39db4ec2;p=thirdparty%2Fpsycopg.git Instructions for PyPI installation in the readme --- diff --git a/README.rst b/README.rst index 29de2676a..c0101bc83 100644 --- a/README.rst +++ b/README.rst @@ -7,6 +7,15 @@ Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python. Installation ------------ +Quick version:: + + pip install -U pip # upgrade pip to at least 20.3 + pip install --pre psycopg[binary,pool] # install binary files + + +Install from source +------------------- + The library is still in a development stage: you can obtain the most up-to-date code `from the GitHub project`__:: @@ -16,12 +25,6 @@ up-to-date code `from the GitHub project`__:: .. __: https://github.com/psycopg/psycopg -or the last packages `released on TestPyPI`__ using:: - - pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ psycopg - -.. __: https://test.pypi.org/project/psycopg/ - You are required to have the ``libpq``, the PostgreSQL client library, already installed in the system before using ``psycopg``. On Debian system you can obtain it by running::