diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/classes.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 99d9a7a3e7..d9065b3619 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -515,6 +515,14 @@ used. | |||
| 515 | - Extensions that use ``distutils``-based build systems require the | 515 | - Extensions that use ``distutils``-based build systems require the |
| 516 | ``distutils`` class in their recipes. | 516 | ``distutils`` class in their recipes. |
| 517 | 517 | ||
| 518 | .. note:: | ||
| 519 | |||
| 520 | ``distutils`` has been deprecated in Python 3.10 and will be removed | ||
| 521 | in Python 3.12. For this reason the ``distutils3*`` classes are now | ||
| 522 | deprecated and will be removed from core in the near future. Instead, | ||
| 523 | use the ``setuptools3*`` classes. | ||
| 524 | |||
| 525 | |||
| 518 | - Extensions that use build systems based on ``setuptools3`` require | 526 | - Extensions that use build systems based on ``setuptools3`` require |
| 519 | the :ref:`setuptools3 <ref-classes-setuptools3>` class in their | 527 | the :ref:`setuptools3 <ref-classes-setuptools3>` class in their |
| 520 | recipes. | 528 | recipes. |
| @@ -2376,6 +2384,17 @@ The ``setuptools3`` class supports Python version 3.x extensions that | |||
| 2376 | use build systems based on ``setuptools``. If your recipe uses these | 2384 | use build systems based on ``setuptools``. If your recipe uses these |
| 2377 | build systems, the recipe needs to inherit the ``setuptools3`` class. | 2385 | build systems, the recipe needs to inherit the ``setuptools3`` class. |
| 2378 | 2386 | ||
| 2387 | .. _ref-classes-setuptools3-base: | ||
| 2388 | |||
| 2389 | ``setuptools3-base.bbclass`` | ||
| 2390 | ============================ | ||
| 2391 | |||
| 2392 | The ``setuptools3-base`` class provides a reusable base for other classes | ||
| 2393 | that support building Python version 3.x extensions. If you need | ||
| 2394 | functionality that is not provided by the :ref:`setuptools3 <ref-classes-setuptools3>` class, you may | ||
| 2395 | want to ``inherit setuptools3-base``. Some recipes do not need the tasks | ||
| 2396 | in the :ref:`setuptools3 <ref-classes-setuptools3>` class and inherit this class instead. | ||
| 2397 | |||
| 2379 | .. _ref-classes-sign_rpm: | 2398 | .. _ref-classes-sign_rpm: |
| 2380 | 2399 | ||
| 2381 | ``sign_rpm.bbclass`` | 2400 | ``sign_rpm.bbclass`` |
