diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-02-14 11:23:31 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-24 15:43:24 +0000 |
| commit | 0fca5a5a2070d32cd70ec2efd5912e0ef37a2714 (patch) | |
| tree | 78d65321a6d3fbfc0d127516469e346b88fd8dd2 /documentation/ref-manual | |
| parent | 6445a382851413162683d6e09d085f997526871f (diff) | |
| download | poky-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/ref-manual')
| -rw-r--r-- | documentation/ref-manual/classes.rst | 25 |
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 | ||
| 2232 | Internally this uses the :ref:`ref-classes-python_pep517` class. | 2232 | Internally this uses the :ref:`ref-classes-python_pep517` class. |
| 2233 | 2233 | ||
| 2234 | .. _ref-classes-python_pyo3: | ||
| 2235 | |||
| 2236 | ``python_pyo3`` | ||
| 2237 | =============== | ||
| 2238 | |||
| 2239 | The :ref:`ref-classes-python_pyo3` class helps make sure that Python extensions | ||
| 2240 | written in Rust and built with `PyO3 <https://pyo3.rs/>`__, properly set up the | ||
| 2241 | environment for cross compilation. | ||
| 2242 | |||
| 2243 | This class is internal to the :ref:`ref-classes-python-setuptools3_rust` class | ||
| 2244 | and is not meant to be used directly in recipes. | ||
| 2245 | |||
| 2246 | .. _ref-classes-python-setuptools3_rust: | ||
| 2247 | |||
| 2248 | ``python-setuptools3_rust`` | ||
| 2249 | =========================== | ||
| 2250 | |||
| 2251 | The :ref:`ref-classes-python-setuptools3_rust` class enables building Python | ||
| 2252 | extensions implemented in Rust with `PyO3 <https://pyo3.rs/>`__, which allows | ||
| 2253 | to compile and distribute Python extensions written in Rust as easily | ||
| 2254 | as if they were written in C. | ||
| 2255 | |||
| 2256 | This 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`` |
