]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Instructions for PyPI installation in the readme
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 30 Aug 2021 04:34:40 +0000 (06:34 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 30 Aug 2021 04:34:40 +0000 (06:34 +0200)
README.rst

index 29de2676ab7a14850a5a3e9c771101831104f166..c0101bc8360cdadf7de73fd234570ce9eae41d9d 100644 (file)
@@ -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::