summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-01-13 07:38:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-17 11:59:50 +0000
commit7018f99223fde2c498310a2b67a618f6918dc68b (patch)
tree0a7b5fbc0111bb648d89b059956745dd27e68ad1 /documentation
parentfc30301d4cf6a1aa4934cc8572cfd4d3659df817 (diff)
downloadpoky-7018f99223fde2c498310a2b67a618f6918dc68b.tar.gz
ref-manual/variables.rst: add SETUPTOOLS_SETUP_PATH
Add SETUPTOOLS_SETUP_PATH for setuptools3 class. Deprecate DISTUTILS_SETUP_PATH and drop mention of ref-classes-setuptools3 as that class has moved to new variable. [YOCTO #14610] (From yocto-docs rev: 6a314a9217206f572289b484e59076483391868c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/variables.rst22
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