summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_58.2.0.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2021-10-20 18:57:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:42:28 +0100
commitaa600e70d9659738d143af190a585423b98d3e66 (patch)
tree3130701eb91255e32314ce5b887da678746cc941 /meta/recipes-devtools/python/python3-setuptools_58.2.0.bb
parent00372aa2f556d333285a084767cadba3f823bd99 (diff)
downloadpoky-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.bb5
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
9SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" 9SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
10 10
11SRC_URI += "file://0001-change-shebang-to-python3.patch" 11SRC_URI += "\
12 file://0001-change-shebang-to-python3.patch \
13 file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \
14"
12 15
13SRC_URI[sha256sum] = "2c55bdb85d5bb460bd2e3b12052b677879cffcf46c0c688f2e5bf51d36001145" 16SRC_URI[sha256sum] = "2c55bdb85d5bb460bd2e3b12052b677879cffcf46c0c688f2e5bf51d36001145"
14 17