mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-22 12:18:20 +00:00
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:
committed by
Trevor Gamblin
parent
935dd6efa8
commit
ff7312f048
@@ -7,7 +7,7 @@ PYPI_PACKAGE = "ansi2html"
|
||||
|
||||
SRC_URI[sha256sum] = "69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc"
|
||||
|
||||
inherit pypi setuptools3
|
||||
inherit pypi setuptools_build_meta
|
||||
|
||||
DEPENDS += " \
|
||||
${PYTHON_PN}-setuptools-scm-native \
|
||||
@@ -18,8 +18,3 @@ RDEPENDS:${PN} = " \
|
||||
${PYTHON_PN}-six \
|
||||
${PYTHON_PN}-compression \
|
||||
"
|
||||
|
||||
do_compile:prepend() {
|
||||
echo "from setuptools import setup" > ${S}/setup.py
|
||||
echo "setup()" >> ${S}/setup.py
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user