diff options
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 1621e5419e..492a0d4ef5 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -1982,25 +1982,6 @@ system and gives an overview of their function and contents. | |||
1982 | is included in the default value of | 1982 | is included in the default value of |
1983 | :term:`OVERRIDES`. | 1983 | :term:`OVERRIDES`. |
1984 | 1984 | ||
1985 | :term:`DISTUTILS_SETUP_PATH` | ||
1986 | When used by recipes that inherit the | ||
1987 | :ref:`distutils3 <ref-classes-distutils3>` class, this variable should | ||
1988 | be used to specify the directory in which the ``setup.py`` file is | ||
1989 | located if it is not at the root of the source tree (as specified by | ||
1990 | :term:`S`). For example, in a recipe where the sources are fetched from | ||
1991 | a Git repository and ``setup.py`` is in a ``python/pythonmodule`` | ||
1992 | subdirectory, you would have this:: | ||
1993 | |||
1994 | S = "${WORKDIR}/git" | ||
1995 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" | ||
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 | |||
2004 | :term:`DL_DIR` | 1985 | :term:`DL_DIR` |
2005 | The central download directory used by the build process to store | 1986 | The central download directory used by the build process to store |
2006 | downloads. By default, :term:`DL_DIR` gets files suitable for mirroring | 1987 | downloads. By default, :term:`DL_DIR` gets files suitable for mirroring |
@@ -6023,8 +6004,7 @@ system and gives an overview of their function and contents. | |||
6023 | 6004 | ||
6024 | :term:`PYTHON_ABI` | 6005 | :term:`PYTHON_ABI` |
6025 | When used by recipes that inherit the | 6006 | When used by recipes that inherit the |
6026 | :ref:`distutils3 <ref-classes-distutils3>`, | 6007 | :ref:`setuptools3 <ref-classes-setuptools3>` class, denotes the |
6027 | :ref:`setuptools3 <ref-classes-setuptools3>` classes, denotes the | ||
6028 | Application Binary Interface (ABI) currently in use for Python. By | 6008 | Application Binary Interface (ABI) currently in use for Python. By |
6029 | default, the ABI is "m". You do not have to set this variable as the | 6009 | default, the ABI is "m". You do not have to set this variable as the |
6030 | OpenEmbedded build system sets it for you. | 6010 | OpenEmbedded build system sets it for you. |
@@ -6033,14 +6013,9 @@ system and gives an overview of their function and contents. | |||
6033 | names used when installing the Python headers and libraries in | 6013 | names used when installing the Python headers and libraries in |
6034 | sysroot (e.g. ``.../python3.3m/...``). | 6014 | sysroot (e.g. ``.../python3.3m/...``). |
6035 | 6015 | ||
6036 | Recipes that inherit the :ref:`distutils3 <ref-classes-distutils3>` class during cross-builds also | ||
6037 | use this variable to locate the headers and libraries of the | ||
6038 | appropriate Python that the extension is targeting. | ||
6039 | |||
6040 | :term:`PYTHON_PN` | 6016 | :term:`PYTHON_PN` |
6041 | When used by recipes that inherit the | 6017 | When used by recipes that inherit the |
6042 | `distutils3 <ref-classes-distutils3>`, | 6018 | :ref:`setuptools3 <ref-classes-setuptools3>` classe, specifies the |
6043 | :ref:`setuptools3 <ref-classes-setuptools3>` classes, specifies the | ||
6044 | major Python version being built. For Python 3.x, :term:`PYTHON_PN` would | 6019 | major Python version being built. For Python 3.x, :term:`PYTHON_PN` would |
6045 | be "python3". You do not have to set this variable as the | 6020 | be "python3". You do not have to set this variable as the |
6046 | OpenEmbedded build system automatically sets it for you. | 6021 | OpenEmbedded build system automatically sets it for you. |