mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6445a38285
commit
0fca5a5a20
@@ -2231,6 +2231,31 @@ The :ref:`ref-classes-python_poetry_core` class enables building Python modules
|
|||||||
|
|
||||||
Internally this uses the :ref:`ref-classes-python_pep517` class.
|
Internally this uses the :ref:`ref-classes-python_pep517` class.
|
||||||
|
|
||||||
|
.. _ref-classes-python_pyo3:
|
||||||
|
|
||||||
|
``python_pyo3``
|
||||||
|
===============
|
||||||
|
|
||||||
|
The :ref:`ref-classes-python_pyo3` class helps make sure that Python extensions
|
||||||
|
written in Rust and built with `PyO3 <https://pyo3.rs/>`__, properly set up the
|
||||||
|
environment for cross compilation.
|
||||||
|
|
||||||
|
This class is internal to the :ref:`ref-classes-python-setuptools3_rust` class
|
||||||
|
and is not meant to be used directly in recipes.
|
||||||
|
|
||||||
|
.. _ref-classes-python-setuptools3_rust:
|
||||||
|
|
||||||
|
``python-setuptools3_rust``
|
||||||
|
===========================
|
||||||
|
|
||||||
|
The :ref:`ref-classes-python-setuptools3_rust` class enables building Python
|
||||||
|
extensions implemented in Rust with `PyO3 <https://pyo3.rs/>`__, which allows
|
||||||
|
to compile and distribute Python extensions written in Rust as easily
|
||||||
|
as if they were written in C.
|
||||||
|
|
||||||
|
This class inherits the :ref:`ref-classes-setuptools3` and
|
||||||
|
:ref:`ref-classes-python_pyo3` classes.
|
||||||
|
|
||||||
.. _ref-classes-pixbufcache:
|
.. _ref-classes-pixbufcache:
|
||||||
|
|
||||||
``pixbufcache``
|
``pixbufcache``
|
||||||
|
|||||||
Reference in New Issue
Block a user