[2.7] bpo-33503: Fix the broken pypi link in the source and the docum… · python/cpython@ad65d09

26 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -15,7 +15,7 @@ Building the docs

1515
1616

You need to have Sphinx <http://sphinx-doc.org/> installed; it is the toolset

1717

used to build the docs. It is not included in this tree, but maintained

18-

separately and available from PyPI <https://pypi.python.org/pypi/Sphinx>.

18+

separately and available from PyPI <https://pypi.org/project/Sphinx>.

1919
2020
2121

Using make

Original file line numberDiff line numberDiff line change

@@ -31,7 +31,7 @@ installing other Python projects, refer to the

3131

Key terms

3232

=========

3333
34-

* the `Python Packaging Index <https://pypi.python.org/pypi>`__ is a public

34+

* the `Python Packaging Index <https://pypi.org>`__ is a public

3535

repository of open source licensed packages made available for use by

3636

other Python users

3737

* the `Python Packaging Authority

Original file line numberDiff line numberDiff line change

@@ -78,7 +78,7 @@ setup script). Indirectly provides the :class:`distutils.dist.Distribution` and

7878

| | be built | :class:`distutils.core.Extension` |

7979

+--------------------+--------------------------------+-------------------------------------------------------------+

8080

| *classifiers* | A list of categories for the | a list of strings; valid classifiers are listed on `PyPI |

81-

| | package | <https://pypi.python.org/pypi?:action=list_classifiers>`_. |

81+

| | package | <https://pypi.org/classifiers>`_. |

8282

+--------------------+--------------------------------+-------------------------------------------------------------+

8383

| *distclass* | the :class:`Distribution` | a subclass of |

8484

| | class to use | :class:`distutils.core.Distribution` |

Original file line numberDiff line numberDiff line change

@@ -248,4 +248,4 @@ without warnings does not guarantee that PyPI will convert the content

248248

successfully.

249249
250250
251-

.. _Python Package Index (PyPI): https://pypi.python.org/pypi

251+

.. _Python Package Index (PyPI): https://pypi.org

Original file line numberDiff line numberDiff line change

@@ -606,7 +606,7 @@ Notes:

606606

(4)

607607

These fields should not be used if your package is to be compatible with Python

608608

versions prior to 2.2.3 or 2.3. The list is available from the `PyPI website

609-

<https://pypi.python.org/pypi>`_.

609+

<https://pypi.org>`_.

610610
611611

(5)

612612

The ``long_description`` field is used by PyPI when you are

Original file line numberDiff line numberDiff line change

@@ -117,7 +117,7 @@ programming), software engineering (unit testing, logging, profiling, parsing

117117

Python code), and operating system interfaces (system calls, filesystems, TCP/IP

118118

sockets). Look at the table of contents for :ref:`library-index` to get an idea

119119

of what's available. A wide variety of third-party extensions are also

120-

available. Consult `the Python Package Index <https://pypi.python.org/pypi>`_ to

120+

available. Consult `the Python Package Index <https://pypi.org>`_ to

121121

find packages of interest to you.

122122
123123
Original file line numberDiff line numberDiff line change

@@ -19,7 +19,7 @@ standard library module. (Eventually you'll learn what's in the standard

1919

library and will be able to skip this step.)

2020
2121

For third-party packages, search the `Python Package Index

22-

<https://pypi.python.org/pypi>`_ or try `Google <https://www.google.com>`_ or

22+

<https://pypi.org>`_ or try `Google <https://www.google.com>`_ or

2323

another Web search engine. Searching for "Python" plus a keyword or two for

2424

your topic of interest will usually find something helpful.

2525

@@ -585,7 +585,7 @@ substituted for standard input and output. You will have to use pseudo ttys

585585

("ptys") instead of pipes. Or you can use a Python interface to Don Libes'

586586

"expect" library. A Python extension that interfaces to expect is called "expy"

587587

and available from http://expectpy.sourceforge.net. A pure Python solution that

588-

works like expect is `pexpect <https://pypi.python.org/pypi/pexpect/>`_.

588+

works like expect is `pexpect <https://pypi.org/project/pexpect/>`_.

589589
590590
591591

How do I access the serial (RS232) port?

Original file line numberDiff line numberDiff line change

@@ -427,25 +427,25 @@ to make sure everything functions as expected in both versions of Python.

427427
428428
429429

.. _2to3: https://docs.python.org/3/library/2to3.html

430-

.. _caniusepython3: https://pypi.python.org/pypi/caniusepython3

430+

.. _caniusepython3: https://pypi.org/project/caniusepython3

431431

.. _cheat sheet: http://python-future.org/compatible_idioms.html

432-

.. _coverage.py: https://pypi.python.org/pypi/coverage

432+

.. _coverage.py: https://pypi.org/project/coverage

433433

.. _Futurize: http://python-future.org/automatic_conversion.html

434434

.. _importlib: https://docs.python.org/3/library/importlib.html#module-importlib

435-

.. _importlib2: https://pypi.python.org/pypi/importlib2

435+

.. _importlib2: https://pypi.org/project/importlib2

436436

.. _Modernize: https://python-modernize.readthedocs.org/en/latest/

437437

.. _mypy: http://mypy-lang.org/

438438

.. _Porting to Python 3: http://python3porting.com/

439-

.. _Pylint: https://pypi.python.org/pypi/pylint

439+

.. _Pylint: https://pypi.org/project/pylint

440440
441441

.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html

442442
443443

.. _pytype: https://github.com/google/pytype

444444

.. _python-future: http://python-future.org/

445445

.. _python-porting: https://mail.python.org/mailman/listinfo/python-porting

446-

.. _six: https://pypi.python.org/pypi/six

447-

.. _tox: https://pypi.python.org/pypi/tox

448-

.. _trove classifier: https://pypi.python.org/pypi?%3Aaction=list_classifiers

446+

.. _six: https://pypi.org/project/six

447+

.. _tox: https://pypi.org/project/tox

448+

.. _trove classifier: https://pypi.org/classifiers

449449
450450

.. _"What's New": https://docs.python.org/3/whatsnew/index.html

451451
Original file line numberDiff line numberDiff line change

@@ -301,7 +301,7 @@ following WSGI-application::

301301

WSGIServer(app).run()

302302
303303

This is a simple WSGI application, but you need to install `flup

304-

<https://pypi.python.org/pypi/flup/1.0>`_ first, as flup handles the low level

304+

<https://pypi.org/project/flup/1.0>`_ first, as flup handles the low level

305305

FastCGI access.

306306
307307

.. seealso::

@@ -583,7 +583,7 @@ alternate storage mechanism.

583583

helps with choosing a method for saving data

584584
585585

* `SQLAlchemy <http://www.sqlalchemy.org/>`_, the most powerful OR-Mapper

586-

for Python, and `Elixir <https://pypi.python.org/pypi/Elixir>`_, which makes

586+

for Python, and `Elixir <https://pypi.org/project/Elixir>`_, which makes

587587

SQLAlchemy easier to use

588588
589589

* `SQLObject <http://www.sqlobject.org/>`_, another popular OR-Mapper

Original file line numberDiff line numberDiff line change

@@ -39,9 +39,8 @@ Key terms

3939

being installed system wide

4040

* ``virtualenv`` is a third party tools for creating virtual environments, it

4141

is defaults to installing ``pip`` into all created virtual environments.

42-

* the `Python Packaging Index <https://pypi.python.org/pypi>`__ is a public

43-

repository of open source licensed packages made available for use by

44-

other Python users

42+

* the `Python Packaging Index <https://pypi.org>`__ is a public repository of

43+

open source licensed packages made available for use by other Python users

4544

* the `Python Packaging Authority

4645

<https://www.pypa.io/en/latest/>`__ are the group of

4746

developers and documentation authors responsible for the maintenance and