summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-02-14 11:23:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-24 15:43:24 +0000
commit0fca5a5a2070d32cd70ec2efd5912e0ef37a2714 (patch)
tree78d65321a6d3fbfc0d127516469e346b88fd8dd2 /documentation
parent6445a382851413162683d6e09d085f997526871f (diff)
downloadpoky-0fca5a5a2070d32cd70ec2efd5912e0ef37a2714.tar.gz
ref-manual: classes.rst: add python-setuptools3_rust and python_pyo3 classes
(From yocto-docs rev: 65d41f164354494dae52949ce0532fd855de16ec) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Cc: Tim Orling <ticotimo@gmail.com> Cc: Alex Kiernan <alex.kiernan@gmail.com> Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/classes.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index b5443c0d0a..310be59912 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -2231,6 +2231,31 @@ The :ref:`ref-classes-python_poetry_core` class enables building Python modules
2231 2231
2232Internally this uses the :ref:`ref-classes-python_pep517` class. 2232Internally this uses the :ref:`ref-classes-python_pep517` class.
2233 2233
2234.. _ref-classes-python_pyo3:
2235
2236``python_pyo3``
2237===============
2238
2239The :ref:`ref-classes-python_pyo3` class helps make sure that Python extensions
2240written in Rust and built with `PyO3 <https://pyo3.rs/>`__, properly set up the
2241environment for cross compilation.
2242
2243This class is internal to the :ref:`ref-classes-python-setuptools3_rust` class
2244and is not meant to be used directly in recipes.
2245
2246.. _ref-classes-python-setuptools3_rust:
2247
2248``python-setuptools3_rust``
2249===========================
2250
2251The :ref:`ref-classes-python-setuptools3_rust` class enables building Python
2252extensions implemented in Rust with `PyO3 <https://pyo3.rs/>`__, which allows
2253to compile and distribute Python extensions written in Rust as easily
2254as if they were written in C.
2255
2256This class inherits the :ref:`ref-classes-setuptools3` and
2257:ref:`ref-classes-python_pyo3` classes.
2258
2234.. _ref-classes-pixbufcache: 2259.. _ref-classes-pixbufcache:
2235 2260
2236``pixbufcache`` 2261``pixbufcache``