summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-04-26 05:52:41 -0700
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-20 17:25:28 +0100
commit4292da9b3132328c41991a9d36bcd2b01cecc0a9 (patch)
tree0c751de1cbd6424e94c0a9f141b826ae4f043d91
parentdbae84ee29edd2d4961962714e6eed0e029716a2 (diff)
downloadpsycopg2-4292da9b3132328c41991a9d36bcd2b01cecc0a9.tar.gz
Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html (with my addition after cherry-picking from master to maint_2_7)
-rw-r--r--README.rst4
-rw-r--r--doc/release.rst2
-rw-r--r--doc/src/advanced.rst2
-rw-r--r--doc/src/extras.rst2
-rw-r--r--doc/src/install.rst2
5 files changed, 6 insertions, 6 deletions
diff --git a/README.rst b/README.rst
index b5b048d..a9785e3 100644
--- a/README.rst
+++ b/README.rst
@@ -54,8 +54,8 @@ external libraries, by installing the `psycopg2-binary`_ package from PyPI::
The binary package is a practical choice for development and testing but in
production it is advised to use the package built from sources.
-.. _PyPI: https://pypi.python.org/pypi/psycopg2
-.. _psycopg2-binary: https://pypi.python.org/pypi/psycopg2-binary
+.. _PyPI: https://pypi.org/project/psycopg2/
+.. _psycopg2-binary: https://pypi.org/project/psycopg2-binary/
.. _install: http://initd.org/psycopg/docs/install.html#install-from-source
.. _faq: http://initd.org/psycopg/docs/faq.html#faq-compile
diff --git a/doc/release.rst b/doc/release.rst
index 00399c7..4c0389d 100644
--- a/doc/release.rst
+++ b/doc/release.rst
@@ -100,5 +100,5 @@ Test packages may be uploaded on the `PyPI testing site`__ using::
assuming `proper configuration`__ of ``~/.pypirc``.
-.. __: https://testpypi.python.org/pypi/psycopg2
+.. __: https://test.pypi.org/project/psycopg2/
.. __: https://wiki.python.org/moin/TestPyPI
diff --git a/doc/src/advanced.rst b/doc/src/advanced.rst
index b2b8afe..a67df1a 100644
--- a/doc/src/advanced.rst
+++ b/doc/src/advanced.rst
@@ -485,7 +485,7 @@ details. You can check the `psycogreen`_ project for further informations and
resources about the topic.
.. _coroutine: http://en.wikipedia.org/wiki/Coroutine
-.. _greenlet: http://pypi.python.org/pypi/greenlet
+.. _greenlet: https://pypi.org/project/greenlet/
.. _green threads: http://en.wikipedia.org/wiki/Green_threads
.. _Eventlet: http://eventlet.net/
.. _gevent: http://www.gevent.org/
diff --git a/doc/src/extras.rst b/doc/src/extras.rst
index cb8335b..5577826 100644
--- a/doc/src/extras.rst
+++ b/doc/src/extras.rst
@@ -549,7 +549,7 @@ that the last `!simplejson` version supporting Python 2.4 is the 2.0.9.
.. |pgjson| replace:: :sql:`json`
.. |jsonb| replace:: :sql:`jsonb`
.. _pgjson: http://www.postgresql.org/docs/current/static/datatype-json.html
-.. _simplejson: http://pypi.python.org/pypi/simplejson/
+.. _simplejson: https://pypi.org/project/simplejson/
In order to pass a Python object to the database as query argument you can use
the `Json` adapter::
diff --git a/doc/src/install.rst b/doc/src/install.rst
index da67592..98470de 100644
--- a/doc/src/install.rst
+++ b/doc/src/install.rst
@@ -142,7 +142,7 @@ Make sure to use an up-to-date version of :program:`pip` (you can upgrade it
using something like ``pip install -U pip``)
.. __: PyPI-binary_
-.. _PyPI-binary: https://pypi.python.org/pypi/psycopg2-binary/
+.. _PyPI-binary: https://pypi.org/project/psycopg2-binary/
.. _wheel: http://pythonwheels.com/
.. note::