diff options
| author | Tim Orling <ticotimo@gmail.com> | 2021-10-20 18:57:24 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 17:42:28 +0100 |
| commit | aa600e70d9659738d143af190a585423b98d3e66 (patch) | |
| tree | 3130701eb91255e32314ce5b887da678746cc941 /meta/recipes-devtools/python/python3-setuptools_58.2.0.bb | |
| parent | 00372aa2f556d333285a084767cadba3f823bd99 (diff) | |
| download | poky-aa600e70d9659738d143af190a585423b98d3e66.tar.gz | |
python3-setuptools: _distutils/sysconfig fix
Add patch to append STAGING_LIBDIR python-sysconfigdata to sys.path so
that packages which set SETUPTOOLS_USE_DISUTILS='local' cross-compile
properly with python3-setuptools-native.
Fixes:
ModuleNotFoundError: No module named '_sysconfigdata'
References:
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html#porting-from-distutils
(From OE-Core rev: f6fb99c53f779966fc902a629d0a8bbd9f84c6be)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_58.2.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools_58.2.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb b/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb index 0a05ac6079..b37c44854c 100644 --- a/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb | |||
| @@ -8,7 +8,10 @@ inherit pypi setuptools3 | |||
| 8 | 8 | ||
| 9 | SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" | 9 | SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" |
| 10 | 10 | ||
| 11 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | 11 | SRC_URI += "\ |
| 12 | file://0001-change-shebang-to-python3.patch \ | ||
| 13 | file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \ | ||
| 14 | " | ||
| 12 | 15 | ||
| 13 | SRC_URI[sha256sum] = "2c55bdb85d5bb460bd2e3b12052b677879cffcf46c0c688f2e5bf51d36001145" | 16 | SRC_URI[sha256sum] = "2c55bdb85d5bb460bd2e3b12052b677879cffcf46c0c688f2e5bf51d36001145" |
| 14 | 17 | ||
