]> code.ossystems Code Review - openembedded-core.git/commit
python3-setuptools: _distutils/sysconfig fix
authorTim Orling <ticotimo@gmail.com>
Wed, 20 Oct 2021 18:57:24 +0000 (18:57 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 2 Nov 2021 01:09:27 +0000 (09:09 +0800)
commit2f9a362bfebc83ea6459b5294a6fab3c77ea6cb2
tree5565a9bb443cfbb19131156af966b44638063aea
parent6ca6c9c12c93c6df7b18f49ebdbfb69433ff5158
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

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>
(cherry picked from commit f6fb99c53f779966fc902a629d0a8bbd9f84c6be)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3-setuptools_57.4.0.bb