146146
147147This is the name of your project, and will determine how your project is listed
148148on :term: `PyPI <Python Package Index (PyPI)> `. For details on permitted
149- characters, see the `name <http://legacy.python.org/dev/peps/pep-0426/ #name >`_
150- section from :ref: ` PEP426 < pypa:PEP426s > `.
149+ characters, see the :pep: `name <426 #name >`
150+ section from :pep: ` 426 `.
151151
152152
153153version
@@ -414,9 +414,9 @@ Standards compliance for interoperability
414414~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
415415
416416Different Python projects may use different versioning schemes based on the needs of that
417- particular project, but all of them are required to comply with the flexible `public version
418- scheme <https://www.python.org/dev/peps/pep-0440/ #public-version-identifiers> `_ specified
419- in :ref: ` PEP440 < pypa:PEP440s > ` in order to be supported in tools and libraries like ``pip ``
417+ particular project, but all of them are required to comply with the flexible :pep: `public version
418+ scheme <440 #public-version-identifiers >` specified
419+ in :pep: ` 440 ` in order to be supported in tools and libraries like ``pip ``
420420and ``setuptools ``.
421421
422422Here are some examples of compliant version numbers::
@@ -431,8 +431,8 @@ Here are some examples of compliant version numbers::
431431 23 # Serial release
432432
433433To further accommodate historical variations in approaches to version numbering,
434- :ref: ` PEP440 < pypa:PEP440s > ` also defines a comprehensive technique for `version
435- normalisation <https://www.python.org/dev/peps/pep-0440/ #normalization> `_ that maps
434+ :pep: ` 440 ` also defines a comprehensive technique for :pep: `version
435+ normalisation <440 #normalization >` that maps
436436variant spellings of different version numbers to a standardised canonical form.
437437
438438Scheme choices
@@ -452,8 +452,8 @@ where the project author increments:
4524522. MINOR version when they add functionality in a backwards-compatible manner, and
4534533. MAINTENANCE version when they make backwards-compatible bug fixes.
454454
455- Adopting this approach as a project author allows users to make use of `"compatible release"
456- <https://www.python.org/dev/peps/pep-0440/ #compatible-release> `_ specifiers, where
455+ Adopting this approach as a project author allows users to make use of :pep: `"compatible release"
456+ <440 #compatible-release >` specifiers, where
457457``name ~= X.Y `` requires at least release X.Y, but also allows any later release with
458458a matching MAJOR version.
459459
@@ -511,8 +511,8 @@ Local version identifiers
511511
512512Public version identifiers are designed to support distribution via
513513:term: `PyPI <Python Package Index (PyPI)> `. Python's software distribution tools also support
514- the notion of a `local version identifier
515- <https://www.python.org/dev/peps/pep-0440/ #local-version-identifiers> `_ , which can be used to
514+ the notion of a :pep: `local version identifier
515+ <440 #local-version-identifiers >`, which can be used to
516516identify local development builds not intended for publication, or modified variants of a release
517517maintained by a redistributor.
518518
@@ -674,7 +674,7 @@ To build the wheel:
674674`bdist_wheel ` will detect that the code is pure Python, and build a wheel that's
675675named such that it's usable on any Python installation with the same major
676676version (Python 2 or Python 3) as the version you used to build the wheel. For
677- details on the naming of wheel files, see :ref: ` PEP425 < pypa:PEP425s > `
677+ details on the naming of wheel files, see :pep: ` 425 `
678678
679679If your code supports both Python 2 and 3, but with different code (e.g., you
680680use `"2to3" <https://docs.python.org/2/library/2to3.html >`_) you can run
@@ -700,13 +700,13 @@ To build the wheel:
700700
701701`bdist_wheel ` will detect that the code is not pure Python, and build a wheel
702702that's named such that it's only usable on the platform that it was built
703- on. For details on the naming of wheel files, see :ref: ` PEP425 < pypa:PEP425s > `
703+ on. For details on the naming of wheel files, see :pep: ` 425 `
704704
705705.. note ::
706706
707707 :term: `PyPI <Python Package Index (PyPI)> ` currently only allows uploads of
708708 platform wheels for Windows and OS X, NOT linux. Currently, the wheel tag
709- specification (:ref: ` PEP425 < pypa:PEP425s > `) does not handle the variation that can
709+ specification (:pep: ` 425 `) does not handle the variation that can
710710 exist across linux distros.
711711
712712
@@ -817,6 +817,6 @@ There are two options:
817817
818818 .. [2 ] Specifically, the "console_script" approach generates ``.exe `` files on
819819 Windows, which are necessary because the OS special-cases ``.exe `` files.
820- Script-execution features like ``PATHEXT `` and the `Python Launcher for
821- Windows <http://legacy.python.org/dev/peps/pep-0397/> `_ allow scripts to
820+ Script-execution features like ``PATHEXT `` and the :pep: `Python Launcher for
821+ Windows <397 >` allow scripts to
822822 be used in many cases, but not all.
0 commit comments