Skip to content

Commit ce424e0

Browse files
ngoldbaumencukou
andauthored
Apply suggestion from @encukou
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent f96f894 commit ce424e0

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

‎Doc/howto/abi3t-migration.rst‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,17 @@ or :c:member:`PyTypeObject.tp_itemsize`), it cannot be ported to
174174
Setting up the build
175175
====================
176176

177-
If your build tool supports ``abi3t``, use it to select the ABI.
178-
See the documentation for `meson-python
179-
<https://mesonbuild.com/meson-python/how-to-guides/limited-api.html#the-abi3t-stable-abi>`__,
180-
`scikit-build-core
181-
<https://scikit-build-core.readthedocs.io/en/stable/configuration/#customizing-the-output-wheel>`__,
182-
and `Maturin <https://www.maturin.rs/bindings#py_limited_apiabi3>`__,
183-
all of which support ``abi3t``.
184-
You may want to verify that it set the right flag by temporarily adding the
177+
If you use a build tool, search its documentation for "``abi3t``", and follow
178+
any instructions to select the ABI.
179+
For reference, here are direct links for several popular build tools:
180+
181+
- `meson-python
182+
<https://mesonbuild.com/meson-python/how-to-guides/limited-api.html#the-abi3t-stable-abi>`__
183+
- `scikit-build-core
184+
<https://scikit-build-core.readthedocs.io/en/stable/configuration/#customizing-the-output-wheel>`__
185+
- `Maturin <https://www.maturin.rs/bindings#py_limited_apiabi3>`__
186+
187+
You may want to verify that the tool set the right flag by temporarily adding the
185188
following just after ``#include <Python.h>``::
186189

187190
#if Py_TARGET_ABI3T+0 <= 0x30f0000

0 commit comments

Comments
 (0)