meta-python: migrate away from setuptool3 where possible

Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Ross Burton
2022-03-10 13:25:23 +00:00
committed by Trevor Gamblin
parent 935dd6efa8
commit ff7312f048
47 changed files with 51 additions and 94 deletions
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c"
SRC_URI[sha256sum] = "8efa52658e0ae770686a13b675569328f1fba9837e5de1867bfe5f46a9aefe19"
inherit pypi setuptools3
inherit pypi setuptools_build_meta
DEPENDS += "\
${PYTHON_PN}-setuptools-scm-native \
@@ -15,9 +15,4 @@ RDEPENDS:${PN} += " \
${PYTHON_PN}-importlib-metadata \
"
do_compile:prepend() {
echo "from setuptools import setup" > ${S}/setup.py
echo "setup()" >> ${S}/setup.py
}
BBCLASSEXTEND = "native"