]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Oct 2021 16:41:46 +0000 (17:41 +0100)
commitf6fb99c53f779966fc902a629d0a8bbd9f84c6be
treed8b070e68113b34044b5a0bd6b111c7b62d60c7a
parent3d579fb7e4eb96fe0e20e2a7a5948940ca086f99
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>
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_58.2.0.bb