diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2021-04-15 21:46:06 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-15 20:18:58 +0100 |
commit | 1203d1f24d51316ff693556a2d36e1fd71789865 (patch) | |
tree | 7bfba3c845c9c8ff2ee271e9e1c96d3a22e03bfe /documentation/ref-manual/variables.rst | |
parent | 34a72cf61389eb0bed05953ecf72fab8c75d580c (diff) | |
download | poky-1203d1f24d51316ff693556a2d36e1fd71789865.tar.gz |
ref-manual: add mention of DISTUTILS_SETUP_PATH
Add a variable glossary entry and corresponding 3.3 migration
section entry for DISTUTILS_SETUP_PATH.
(From yocto-docs rev: 0823237e6f4b9dbdf48500b3c1e8cc61696fa2d2)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 8f059650d3..74ac12bf98 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -1978,6 +1978,19 @@ system and gives an overview of their function and contents. | |||
1978 | is included in the default value of | 1978 | is included in the default value of |
1979 | :term:`OVERRIDES`. | 1979 | :term:`OVERRIDES`. |
1980 | 1980 | ||
1981 | :term:`DISTUTILS_SETUP_PATH` | ||
1982 | When used by recipes that inherit the | ||
1983 | :ref:`distutils3 <ref-classes-distutils3>` or | ||
1984 | :ref:`setuptools3 <ref-classes-setuptools3>` class, this variable should | ||
1985 | be used to specify the directory in which the ``setup.py`` file is | ||
1986 | located if it is not at the root of the source tree (as specified by | ||
1987 | :term:`S`). For example, in a recipe where the sources are fetched from | ||
1988 | a Git repository and ``setup.py`` is in a ``python/pythonmodule`` | ||
1989 | subdirectory, you would have this:: | ||
1990 | |||
1991 | S = "${WORKDIR}/git" | ||
1992 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" | ||
1993 | |||
1981 | :term:`DL_DIR` | 1994 | :term:`DL_DIR` |
1982 | The central download directory used by the build process to store | 1995 | The central download directory used by the build process to store |
1983 | downloads. By default, ``DL_DIR`` gets files suitable for mirroring | 1996 | downloads. By default, ``DL_DIR`` gets files suitable for mirroring |