Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit131e052

Browse files
[3.13]gh-129712: Document the wheels tags corresponding to each universal SDK. (GH-130389) (#130449)
Document the architectures supported by macOS universal SDK configuration flags,and add details on wheel tag naming.(cherry picked from commit474c388)Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
1 parentc7d6aa5 commit131e052

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

‎Doc/using/configure.rst‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -948,14 +948,20 @@ See :source:`Mac/README.rst`.
948948

949949
Options:
950950

951-
* ``universal2``;
952-
* ``32-bit``;
953-
* ``64-bit``;
954-
* ``3-way``;
955-
* ``intel``;
956-
* ``intel-32``;
957-
* ``intel-64``;
958-
* ``all``.
951+
* ``universal2`` (x86-64 and arm64);
952+
* ``32-bit`` (PPC and i386);
953+
* ``64-bit`` (PPC64 and x86-64);
954+
* ``3-way`` (i386, PPC and x86-64);
955+
* ``intel`` (i386 and x86-64);
956+
* ``intel-32`` (i386);
957+
* ``intel-64`` (x86-64);
958+
* ``all`` (PPC, i386, PPC64 and x86-64).
959+
960+
Note that values for this configuration item are *not* the same as the
961+
identifiers used for universal binary wheels on macOS. See the Python
962+
Packaging User Guide for details on the `packaging platform compatibility
963+
tags used on macOS
964+
<https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#macos>`_
959965

960966
..option::--with-framework-name=FRAMEWORK
961967

‎Mac/README.rst‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,16 @@ a ``python3.x-32`` binary and use the value of ``sys.executable`` as the
200200
Likewise, use ``python3.x-intel64`` to force execution in ``x86_64`` mode
201201
with ``universal2`` binaries.
202202

203+
3. How do I specify binary universal wheels
204+
-------------------------------------------
205+
206+
Binary wheels can also be universal. The platform tag name used to identify
207+
universal binary wheels differs from the naming scheme used when configuring a
208+
universal build with ``--with-universal-archs``. See the Python Packaging User
209+
Guide for details on the `packaging platform compatibility tags used on macOS
210+
<https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#macos>`_.
211+
212+
203213
Building and using a framework-based Python on macOS
204214
====================================================
205215

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The wheel tags supported by each macOS universal SDK option are now
2+
documented.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp