]> code.ossystems Code Review - openembedded-core.git/commit
pip_install_wheel: add a generic do_install for bootstrapping
authorRoss Burton <ross@burtonini.com>
Thu, 10 Mar 2022 11:40:33 +0000 (11:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Mar 2022 06:54:39 +0000 (06:54 +0000)
commitd5d702a2cd06f863340f8e4cdce0904c9d86384d
tree933a32187ec664ee72a57e6d51474fd5bce2093e
parent5d514b5dbd09ce059047d849d5b7cc2b2327564d
pip_install_wheel: add a generic do_install for bootstrapping

Several recipes are duplicating the same bootstrap logic for installing
a wheel without using any tools.  Add an implementation to
pip_install_wheel to centralise the code, and remove the duplicated code
from the following recipes:

- python3-flit-core
- python3-pip
- python3-setuptools
- python3-wheel

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/pip_install_wheel.bbclass
meta/recipes-devtools/python/python3-flit-core_3.7.1.bb
meta/recipes-devtools/python/python3-pip_22.0.3.bb
meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
meta/recipes-devtools/python/python3-wheel_0.37.1.bb