diff options
| author | Tim Orling <ticotimo@gmail.com> | 2022-03-01 08:36:17 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-04 09:39:37 +0000 |
| commit | e2218a968409e88298a746e5dfc97a3204cfea18 (patch) | |
| tree | 325f2ff42e524d3a6b45c7f7f908b39f04914bde | |
| parent | 48e3604317ed415238b04c40e475bd0ba75d3edd (diff) | |
| download | poky-e2218a968409e88298a746e5dfc97a3204cfea18.tar.gz | |
docs: migration-3.3 drop distutils labels, terms
The distutils* classes and DISUTILS* terms are no longer defined so
replace their usage with ``text``.
(From yocto-docs rev: c0e0e0b9416cb7a2fed3efe9d32ee905b6391f24)
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>
| -rw-r--r-- | documentation/migration-guides/migration-3.3.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/migration-guides/migration-3.3.rst b/documentation/migration-guides/migration-3.3.rst index f982b1c80a..1eb494c286 100644 --- a/documentation/migration-guides/migration-3.3.rst +++ b/documentation/migration-guides/migration-3.3.rst | |||
| @@ -90,17 +90,17 @@ example:: | |||
| 90 | 90 | ||
| 91 | then in ``setup.py`` it works with source code in a relative fashion, such | 91 | then in ``setup.py`` it works with source code in a relative fashion, such |
| 92 | as ``../../src``. This causes pseudo to fail as it isn't able to track | 92 | as ``../../src``. This causes pseudo to fail as it isn't able to track |
| 93 | the paths properly. This release introduces a new :term:`DISTUTILS_SETUP_PATH` | 93 | the paths properly. This release introduces a new ``DISTUTILS_SETUP_PATH`` |
| 94 | variable so that recipes can specify it explicitly, for example:: | 94 | variable so that recipes can specify it explicitly, for example:: |
| 95 | 95 | ||
| 96 | S = "${WORKDIR}/git" | 96 | S = "${WORKDIR}/git" |
| 97 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" | 97 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" |
| 98 | 98 | ||
| 99 | Recipes that inherit from :ref:`distutils3 <ref-classes-distutils3>` (or | 99 | Recipes that inherit from ``distutils3`` (or |
| 100 | :ref:`setuptools3 <ref-classes-setuptools3>` which itself inherits | 100 | :ref:`setuptools3 <ref-classes-setuptools3>` which itself inherits |
| 101 | :ref:`distutils3 <ref-classes-distutils3>`) that also set :term:`S` to | 101 | ``distutils3``) that also set :term:`S` to |
| 102 | point to a Python module within a subdirectory in the aforementioned | 102 | point to a Python module within a subdirectory in the aforementioned |
| 103 | manner should be changed to set :term:`DISTUTILS_SETUP_PATH` instead. | 103 | manner should be changed to set ``DISTUTILS_SETUP_PATH`` instead. |
| 104 | 104 | ||
| 105 | 105 | ||
| 106 | .. _migration-3.3-bitbake: | 106 | .. _migration-3.3-bitbake: |
