From 7e2cc0d8b73880650b0a3d0b602fcaf3905ccd11 Mon Sep 17 00:00:00 2001
From: Michael Merickel <michael@merickel.org>
Date: Sat, 19 May 2018 13:31:14 +0200
Subject: [PATCH] link to pypi.org

---
 docs/tutorials/wiki2/installation.rst   |    2 +-
 docs/tutorials/wiki/authorization.rst   |    2 +-
 docs/tutorials/wiki2/distributing.rst   |    2 +-
 HACKING.txt                             |    2 +-
 docs/narr/project.rst                   |    2 +-
 docs/glossary.rst                       |   12 ++++++------
 docs/tutorials/wiki/basiclayout.rst     |    2 +-
 docs/tutorials/wiki/distributing.rst    |    2 +-
 docs/narr/sessions.rst                  |    6 +++---
 docs/quick_tutorial/authentication.rst  |    2 +-
 docs/tutorials/wiki2/definingmodels.rst |    2 +-
 11 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/HACKING.txt b/HACKING.txt
index 3e7ddd0..df3bb66 100644
--- a/HACKING.txt
+++ b/HACKING.txt
@@ -166,7 +166,7 @@
     $ $VENV/bin/nosetests pyramid.tests.test_module:ClassName
 
   Optionally you can install a nose plugin, `nose-selecttests
-  <https://pypi.python.org/pypi/nose-selecttests/>`_, and use a regular
+  <https://pypi.org/project/nose-selecttests/>`_, and use a regular
   expression with the ``-t`` parameter to run tests.
 
     # run a single test
diff --git a/docs/glossary.rst b/docs/glossary.rst
index 7f1147f..7e16b56 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -332,7 +332,7 @@
      for middleware exist, such as caching, content-transport
      encoding, and other functions.  See `WSGI documentation
      <https://wsgi.readthedocs.io/en/latest/>`_ or `PyPI
-     <https://pypi.python.org/pypi>`_ to find middleware for your application.
+     <https://pypi.org/>`_ to find middleware for your application.
 
    pipeline
      The :term:`PasteDeploy` term for a single configuration of a WSGI
@@ -394,7 +394,7 @@
      between templates.
 
    Genshi
-     An `XML templating language <https://pypi.python.org/pypi/Genshi/>`_
+     An `XML templating language <https://pypi.org/project/Genshi/>`_
      by Christopher Lenz.
 
    Jinja2
@@ -449,7 +449,7 @@
      subpath.  See :ref:`star_subpath` for more information.
 
    interface
-     A `Zope interface <https://pypi.python.org/pypi/zope.interface>`_
+     A `Zope interface <https://pypi.org/project/zope.interface/>`_
      object.  In :app:`Pyramid`, an interface may be attached to a
      :term:`resource` object or a :term:`request` object in order to
      identify that the object is "of a type".  Interfaces are used
@@ -495,7 +495,7 @@
 
    repoze.catalog
      An indexing and search facility (fielded and full-text) based on
-     `zope.index <https://pypi.python.org/pypi/zope.index>`_.  See `the
+     `zope.index <https://pypi.org/project/zope.index/>`_.  See `the
      documentation <http://docs.repoze.org/catalog>`_ for more
      information.
 
@@ -707,7 +707,7 @@
      :ref:`multidict_narr` and :class:`pyramid.interfaces.IMultiDict`.
 
    PyPI
-     `The Python Package Index <https://pypi.python.org/pypi>`_, a collection
+     `The Python Package Index <https://pypi.org/>`_, a collection
      of software available for Python.
 
    Agendaless Consulting
@@ -1100,7 +1100,7 @@
    pyramid_redis_sessions
       A package by Eric Rasmussen which allows you to store Pyramid session 
       data in a Redis database.  See 
-      https://pypi.python.org/pypi/pyramid_redis_sessions for more information.
+      https://pypi.org/project/pyramid_redis_sessions/ for more information.
 
    cache busting
       A technique used when serving a cacheable static asset in order to force
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index 10befdc..c1ab093 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -763,7 +763,7 @@
 description is provided in the ``description`` field.  The ``long_description``
 is conventionally the content of the ``README`` and ``CHANGES`` files appended
 together. The ``classifiers`` field is a list of `Trove classifiers
-<https://pypi.python.org/pypi?%3Aaction=list_classifiers>`_ describing your
+<https://pypi.org/pypi?%3Aaction=list_classifiers>`_ describing your
 application.  ``author`` and ``author_email`` are text fields which probably
 don't need any description. ``url`` is a field that should point at your
 application project's URL (if any). ``packages=find_packages()`` causes all
diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst
index b34d7a4..c035484 100644
--- a/docs/narr/sessions.rst
+++ b/docs/narr/sessions.rst
@@ -170,13 +170,13 @@
                                 sessioning system.
 ======================= ======= =============================
 
-.. _pyramid_nacl_session: https://pypi.python.org/pypi/pyramid_nacl_session
+.. _pyramid_nacl_session: https://pypi.org/project/pyramid_nacl_session/
 .. _PyNaCl: https://pynacl.readthedocs.io/en/latest/secret/
 
-.. _pyramid_redis_sessions: https://pypi.python.org/pypi/pyramid_redis_sessions
+.. _pyramid_redis_sessions: https://pypi.org/project/pyramid_redis_sessions/
 .. _Redis: https://redis.io/
 
-.. _pyramid_beaker: https://pypi.python.org/pypi/pyramid_beaker
+.. _pyramid_beaker: https://pypi.org/project/pyramid_beaker/
 .. _Beaker: https://beaker.readthedocs.io/en/latest/
 
 .. index::
diff --git a/docs/quick_tutorial/authentication.rst b/docs/quick_tutorial/authentication.rst
index 015aa2b..529f51d 100644
--- a/docs/quick_tutorial/authentication.rst
+++ b/docs/quick_tutorial/authentication.rst
@@ -152,4 +152,4 @@
 
 .. seealso:: See also :ref:`security_chapter`,
    :ref:`AuthTktAuthenticationPolicy <authentication_module>`, `bcrypt
-   <https://pypi.python.org/pypi/bcrypt>`_
+   <https://pypi.org/project/bcrypt/>`_
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 9a83137..a2e61e6 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -43,7 +43,7 @@
 Add dependencies
 ~~~~~~~~~~~~~~~~
 
-Just like in :ref:`wiki_defining_views`, we need a new dependency. We need to add the `bcrypt <https://pypi.python.org/pypi/bcrypt>`_ package, to our tutorial package's ``setup.py`` file by assigning this dependency to the ``requires`` parameter in the ``setup()`` function.
+Just like in :ref:`wiki_defining_views`, we need a new dependency. We need to add the `bcrypt <https://pypi.org/project/bcrypt/>`_ package, to our tutorial package's ``setup.py`` file by assigning this dependency to the ``requires`` parameter in the ``setup()`` function.
 
 Open ``setup.py`` and edit it to look like the following:
 
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst
index b636308..a0b365a 100644
--- a/docs/tutorials/wiki/basiclayout.rst
+++ b/docs/tutorials/wiki/basiclayout.rst
@@ -44,7 +44,7 @@
 #. *Line 16*.  Include support for the :term:`Chameleon` template rendering
    bindings, allowing us to use the ``.pt`` templates.
 
-#. *Line 17*.  Include support for ``pyramid_tm``, allowing Pyramid requests to join the active transaction as provided by the `transaction <https://pypi.python.org/pypi/transaction>`_ package.
+#. *Line 17*.  Include support for ``pyramid_tm``, allowing Pyramid requests to join the active transaction as provided by the `transaction <https://pypi.org/project/transaction/>`_ package.
 
 #. *Line 18*.  Include support for ``pyramid_retry`` to retry a request when transient exceptions occur.
 
diff --git a/docs/tutorials/wiki/distributing.rst b/docs/tutorials/wiki/distributing.rst
index fb0a552..011a94f 100644
--- a/docs/tutorials/wiki/distributing.rst
+++ b/docs/tutorials/wiki/distributing.rst
@@ -35,6 +35,6 @@
 ``tutorial-0.0.tar.gz``.  You can send this file to your friends to show them
 your cool new application.  They should be able to install it by pointing the
 ``pip install`` command directly at it. Or you can upload it to `PyPI
-<https://pypi.python.org/pypi>`_ and share it with the rest of the world, where
+<https://pypi.org/>`_ and share it with the rest of the world, where
 it can be downloaded via ``pip install`` remotely like any other package people
 download from PyPI.
diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst
index 5cebb94..fd1967d 100644
--- a/docs/tutorials/wiki2/definingmodels.rst
+++ b/docs/tutorials/wiki2/definingmodels.rst
@@ -25,7 +25,7 @@
 application was generated by the cookiecutter; it doesn't know about our
 custom application requirements.
 
-We need to add a dependency, the `bcrypt <https://pypi.python.org/pypi/bcrypt>`_ package, to our ``tutorial``
+We need to add a dependency, the `bcrypt <https://pypi.org/project/bcrypt/>`_ package, to our ``tutorial``
 package's ``setup.py`` file by assigning this dependency to the ``requires``
 parameter in the ``setup()`` function.
 
diff --git a/docs/tutorials/wiki2/distributing.rst b/docs/tutorials/wiki2/distributing.rst
index dd6b1b7..d296363 100644
--- a/docs/tutorials/wiki2/distributing.rst
+++ b/docs/tutorials/wiki2/distributing.rst
@@ -35,6 +35,6 @@
 ``tutorial-0.0.tar.gz``.  You can send this file to your friends to show them
 your cool new application.  They should be able to install it by pointing the
 ``pip install`` command directly at it. Or you can upload it to `PyPI
-<https://pypi.python.org/pypi>`_ and share it with the rest of the world, where
+<https://pypi.org/>`_ and share it with the rest of the world, where
 it can be downloaded via ``pip install`` remotely like any other package people
 download from PyPI.
diff --git a/docs/tutorials/wiki2/installation.rst b/docs/tutorials/wiki2/installation.rst
index 5936c5a..18f30d6 100644
--- a/docs/tutorials/wiki2/installation.rst
+++ b/docs/tutorials/wiki2/installation.rst
@@ -468,7 +468,7 @@
    https://docs.pylonsproject.org/projects/pyramid-tm/en/latest/
 
 .. _zope.sqlalchemy:
-   https://pypi.python.org/pypi/zope.sqlalchemy
+   https://pypi.org/project/zope.sqlalchemy/
 
 .. _transaction:
    https://zodb.readthedocs.io/en/latest/transactions.html

--
Gitblit v1.9.3