mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +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
@@ -8,9 +8,4 @@ SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b874
|
||||
PYPI_PACKAGE = "pytz_deprecation_shim"
|
||||
PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
do_compile:prepend() {
|
||||
echo "from setuptools import setup" > ${S}/setup.py
|
||||
echo "setup()" >> ${S}/setup.py
|
||||
}
|
||||
inherit pypi setuptools_build_meta
|
||||
|
||||
Reference in New Issue
Block a user