diff options
Diffstat (limited to 'documentation/ref-manual/variables.rst')
| -rw-r--r-- | documentation/ref-manual/variables.rst | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 76831003d1..66b3e1e251 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -1984,8 +1984,7 @@ system and gives an overview of their function and contents. | |||
| 1984 | 1984 | ||
| 1985 | :term:`DISTUTILS_SETUP_PATH` | 1985 | :term:`DISTUTILS_SETUP_PATH` |
| 1986 | When used by recipes that inherit the | 1986 | When used by recipes that inherit the |
| 1987 | :ref:`distutils3 <ref-classes-distutils3>` or | 1987 | :ref:`distutils3 <ref-classes-distutils3>` class, this variable should |
| 1988 | :ref:`setuptools3 <ref-classes-setuptools3>` class, this variable should | ||
| 1989 | be used to specify the directory in which the ``setup.py`` file is | 1988 | be used to specify the directory in which the ``setup.py`` file is |
| 1990 | located if it is not at the root of the source tree (as specified by | 1989 | located if it is not at the root of the source tree (as specified by |
| 1991 | :term:`S`). For example, in a recipe where the sources are fetched from | 1990 | :term:`S`). For example, in a recipe where the sources are fetched from |
| @@ -1995,6 +1994,13 @@ system and gives an overview of their function and contents. | |||
| 1995 | S = "${WORKDIR}/git" | 1994 | S = "${WORKDIR}/git" |
| 1996 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" | 1995 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" |
| 1997 | 1996 | ||
| 1997 | .. note:: | ||
| 1998 | |||
| 1999 | ``distutils`` has been deprecated in Python 3.10 and will be removed | ||
| 2000 | in Python 3.12. For this reason, the use of :ref:`distutils3 <ref-classes-distutils3>` | ||
| 2001 | is deprecated. Instead use :ref:`setuptools3 <ref-classes-setuptools3>` and the | ||
| 2002 | :term:`SETUPTOOLS_SETUP_PATH` variable. | ||
| 2003 | |||
| 1998 | :term:`DL_DIR` | 2004 | :term:`DL_DIR` |
| 1999 | The central download directory used by the build process to store | 2005 | The central download directory used by the build process to store |
| 2000 | downloads. By default, :term:`DL_DIR` gets files suitable for mirroring | 2006 | downloads. By default, :term:`DL_DIR` gets files suitable for mirroring |
| @@ -6840,6 +6846,18 @@ system and gives an overview of their function and contents. | |||
| 6840 | 6846 | ||
| 6841 | EXTRA_IMAGE_FEATURES += "read-only-rootfs" | 6847 | EXTRA_IMAGE_FEATURES += "read-only-rootfs" |
| 6842 | 6848 | ||
| 6849 | :term:`SETUPTOOLS_SETUP_PATH` | ||
| 6850 | When used by recipes that inherit the | ||
| 6851 | :ref:`setuptools3 <ref-classes-setuptools3>` class, this variable should | ||
| 6852 | be used to specify the directory in which the ``setup.py`` file is | ||
| 6853 | located if it is not at the root of the source tree (as specified by | ||
| 6854 | :term:`S`). For example, in a recipe where the sources are fetched from | ||
| 6855 | a Git repository and ``setup.py`` is in a ``python/pythonmodule`` | ||
| 6856 | subdirectory, you would have this:: | ||
| 6857 | |||
| 6858 | S = "${WORKDIR}/git" | ||
| 6859 | SETUPTOOLS_SETUP_PATH = "${S}/python/pythonmodule" | ||
| 6860 | |||
| 6843 | :term:`SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS` | 6861 | :term:`SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS` |
| 6844 | A list of recipe dependencies that should not be used to determine | 6862 | A list of recipe dependencies that should not be used to determine |
| 6845 | signatures of tasks from one recipe when they depend on tasks from | 6863 | signatures of tasks from one recipe when they depend on tasks from |
