Skip to content

Commit d1e860b

Browse files
committed
Merge pull request pypa#240 from Yhg1s/master
Update references to the setuptools docs
2 parents 45f1a96 + c3c48d0 commit d1e860b

6 files changed

+21
-20
lines changed

source/distributing.rst

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ development as a whole. For example, it does not provide guidance or tool
1414
recommendations for version control, documentation, or testing.
1515

1616
For more reference material, see `Building and Distributing Packages
17-
<http://pythonhosted.org/setuptools/setuptools.html>`_ in the :ref:`setuptools`
18-
docs, but note that some advisory content there may be outdated. In the event of
19-
conflicts, prefer the advice in the Python Packaging User Guide.
17+
<https://setuptools.readthedocs.io/en/latest/setuptools.html>`_ in the
18+
:ref:`setuptools` docs, but note that some advisory content there may be
19+
outdated. In the event of conflicts, prefer the advice in the Python
20+
Packaging User Guide.
2021

2122
.. contents:: Contents
2223
:local:
@@ -313,8 +314,8 @@ that should be copied into the package. The paths are interpreted as relative to
313314
the directory containing the package.
314315

315316
For more information, see `Including Data Files
316-
<http://pythonhosted.org/setuptools/setuptools.html#including-data-files>`_ from
317-
the `setuptools docs <http://pythonhosted.org/setuptools/setuptools.html>`_.
317+
<https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files>`_
318+
from the `setuptools docs <https://setuptools.readthedocs.io>`_.
318319

319320

320321
.. _`Data Files`:
@@ -376,7 +377,7 @@ entry points that may be defined by your project or others that you depend on.
376377

377378
For more information, see the section on `Dynamic Discovery of Services and
378379
Plugins
379-
<http://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins>`_
380+
<https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins>`_
380381
from the :ref:`setuptools` docs.
381382

382383
The most commonly used entry point is "console_scripts" (see below).
@@ -395,15 +396,15 @@ console_scripts
395396
},
396397

397398
Use "console_script" `entry points
398-
<http://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins>`_
399+
<https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins>`_
399400
to register your script interfaces. You can then let the toolchain handle the
400401
work of turning these interfaces into actual scripts [2]_. The scripts will be
401402
generated during the install of your :term:`distribution <Distribution
402403
Package>`.
403404

404405
For more information, see `Automatic Script Creation
405-
<http://pythonhosted.org/setuptools/setuptools.html#automatic-script-creation>`_
406-
from the `setuptools docs <http://pythonhosted.org/setuptools/setuptools.html>`_.
406+
<https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation>`_
407+
from the `setuptools docs <https://setuptools.readthedocs.io>`_.
407408

408409
.. _`Choosing a versioning scheme`:
409410

@@ -563,8 +564,8 @@ Lastly, if you don't want to install any dependencies at all, you can run::
563564

564565

565566
For more information, see the `Development Mode
566-
<http://pythonhosted.org/setuptools/setuptools.html#development-mode>`_ section
567-
of the `setuptools docs <http://pythonhosted.org/setuptools/setuptools.html>`_.
567+
<https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode>`_ section
568+
of the `setuptools docs <https://setuptools.readthedocs.io>`_.
568569

569570
.. _`Packaging Your Project`:
570571

source/glossary.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Glossary
4848
A :term:`Built Distribution` format introduced by :ref:`setuptools`,
4949
which is being replaced by :term:`Wheel`. For details, see `The
5050
Internal Structure of Python Eggs
51-
<http://pythonhosted.org/setuptools/formats.html>`_ and `Python Eggs
52-
<http://peak.telecommunity.com/DevCenter/PythonEggs>`_
51+
<https://setuptools.readthedocs.io/en/latest/formats.html>`_ and
52+
`Python Eggs <http://peak.telecommunity.com/DevCenter/PythonEggs>`_
5353

5454
Extension Module
5555

@@ -163,7 +163,7 @@ Glossary
163163
A format used by :ref:`pip` to install packages from a :term:`Package
164164
Index`. For an EBNF diagram of the format, see the
165165
`pkg_resources.Requirement
166-
<https://pythonhosted.org/setuptools/pkg_resources.html#requirement-objects>`_
166+
<https://setuptools.readthedocs.io/en/latest/pkg_resources.html#requirement-objects>`_
167167
entry in the :ref:`setuptools` docs. For example, "foo>=1.3" is a
168168
requirement specifier, where "foo" is the project name, and the ">=1.3"
169169
portion is the :term:`Version Specifier`

source/installing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ Installing from a local src tree
302302

303303

304304
Installing from local src in `Development Mode
305-
<http://pythonhosted.org/setuptools/setuptools.html#development-mode>`_, i.e. in
306-
such a way that the project appears to be installed, but yet is still editable
307-
from the src tree.
305+
<https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode>`_,
306+
i.e. in such a way that the project appears to be installed, but yet is
307+
still editable from the src tree.
308308

309309
::
310310

source/multi_version_install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ wrapper script or use ``python -c '<commmand>'`` to invoke the application's
3939
main entry point directly.
4040

4141
Refer to the `pkg_resources documentation
42-
<http://pythonhosted.org/setuptools/pkg_resources.html#workingset-objects>`__
42+
<https://setuptools.readthedocs.io/en/latest/pkg_resources.html#workingset-objects>`__
4343
for more details.

source/pip_easy_install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Here's a breakdown of the important differences between pip and easy_install now
6363

6464
----
6565

66-
.. [1] http://pythonhosted.org/setuptools/easy_install.html#natural-script-launcher
66+
.. [1] https://setuptools.readthedocs.io/en/latest/easy_install.html#natural-script-launcher
6767
6868
6969
.. _pylauncher support: https://bitbucket.org/pypa/pylauncher

source/projects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This guide!
9999
setuptools
100100
==========
101101

102-
`Docs <http://pythonhosted.org/setuptools>`__ |
102+
`Docs <https://setuptools.readthedocs.io>`__ |
103103
`User list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
104104
`Dev list <http://groups.google.com/group/pypa-dev>`__ |
105105
`Issues <https://bitbucket.org/pypa/setuptools/issues>`__ |

0 commit comments

Comments
 (0)