Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e788057

Browse files
authored
bpo-36797: Reduce levels of indirection in outdated distutils docs (#13462)
1 parent 394119a commit e788057

4 files changed

Lines changed: 14 additions & 9 deletions

File tree

Doc/distributing/index.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,17 @@ recommended tools`_.
113113

114114
.. _currently recommended tools: https://packaging.python.org/guides/tool-recommendations/#packaging-tool-recommendations
115115

116-
Reading the guide
117-
=================
116+
.. index::
117+
single: Python Package Index (PyPI)
118+
single: PyPI; (see Python Package Index (PyPI))
119+
120+
.. _publishing-python-packages:
121+
122+
Reading the Python Packaging User Guide
123+
=======================================
118124

119125
The Python Packaging User Guide covers the various key steps and elements
120-
involved in creating a project:
126+
involved in creating and publishing a project:
121127

122128
* `Project structure`_
123129
* `Building and packaging the project`_

Doc/distutils/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ and extensions readily available to a wider audience.
3636
configfile.rst
3737
sourcedist.rst
3838
builtdist.rst
39-
packageindex.rst
4039
examples.rst
4140
extending.rst
4241
commandref.rst

Doc/distutils/packageindex.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
.. index::
2-
single: Python Package Index (PyPI)
3-
single: PyPI; (see Python Package Index (PyPI))
1+
:orphan:
42

53
.. _package-index:
64

@@ -12,6 +10,7 @@ The `Python Package Index (PyPI)`_ stores metadata describing distributions
1210
packaged with distutils and other publishing tools, as well the distribution
1311
archives themselves.
1412

15-
Detailed instructions on using PyPI at :ref:`distributing-index`.
13+
References to up to date PyPI documentation can be found at
14+
:ref:`publishing-python-packages`.
1615

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

Doc/distutils/uploading.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
Uploading Packages to the Package Index
55
***************************************
66

7-
The contents of this page have moved to the section :ref:`package-index`.
7+
References to up to date PyPI documentation can be found at
8+
:ref:`publishing-python-packages`.

0 commit comments

Comments
 (0)