Skip to content

Commit 74b071b

Browse files
committed
Platform tags: Flatten deeply nested headers
1 parent ecc391f commit 74b071b

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

source/specifications/platform-compatibility-tags.rst

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,16 @@ platform tag
2525
For example, the tag ``py27-none-any`` indicates compatibility with Python 2.7
2626
(any Python 2.7 implementation) with no abi requirement, on any platform.
2727

28-
Use
29-
===
30-
3128
The ``wheel`` built package format includes these tags in its filenames,
3229
of the form
3330
``{distribution}-{version}(-{build tag})?-{python tag}-{abitag}-{platform tag}.whl``.
3431
Other package formats may have their own conventions.
3532

3633
Any potential spaces in any tag should be replaced with ``_``.
3734

38-
Details
39-
=======
4035

4136
Python Tag
42-
----------
37+
==========
4338

4439
The Python tag indicates the implementation and version required by
4540
a distribution. Major implementations have abbreviated codes, initially:
@@ -66,8 +61,9 @@ intentionally released a cross-version-compatible distribution.
6661
A single-source Python 2/3 compatible distribution can use the compound
6762
tag ``py2.py3``. See `Compressed Tag Sets`_, below.
6863

64+
6965
ABI Tag
70-
-------
66+
=======
7167

7268
The ABI tag indicates which Python ABI is required by any included
7369
extension modules. For implementation-specific ABIs, the implementation
@@ -82,10 +78,10 @@ revision and compiler flags, etc, but will probably not have a great need
8278
to distribute binary distributions. Each implementation's community may
8379
decide how to best use the ABI tag.
8480

81+
8582
Platform Tag
86-
------------
83+
============
8784

88-
-------------------
8985
Basic platform tags
9086
-------------------
9187

@@ -99,10 +95,10 @@ was ``distutils.util.get_platform()``. For example:
9995
* linux_x86_64
10096

10197

102-
-------------
98+
.. _manylinux:
99+
103100
``manylinux``
104101
-------------
105-
.. _manylinux:
106102

107103
The simple scheme above is insufficient for public distribution of wheel files
108104
to Linux platforms, due to the large ecosystem of Linux platforms and subtle
@@ -140,9 +136,6 @@ possible, with the caveat that the provided build environment for
140136
``manylinux1`` and ``manylinux2010`` have reached end-of-life meaning that
141137
these images will no longer receive security updates.
142138

143-
Manylinux compatibility support
144-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145-
146139
The following table shows the minimum versions of relevant projects to support
147140
the various ``manylinux`` standards:
148141

@@ -155,6 +148,7 @@ auditwheel ``>=1.0.0`` ``>=2.0.0`` ``>=3.0.0`` ``>=3.3.0`` [#
155148

156149
.. [#] Only support for ``manylinux_2_24`` has been added in auditwheel 3.3.0
157150
151+
158152
Use
159153
===
160154

0 commit comments

Comments
 (0)