mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 20:53:03 +01:00
PIP is not needed by this class directly, but is used by pip_install_wheel which already depends on python3-pip-native. (From OE-Core rev: 2f18b35b8da5dad471c325138be52191412e4100) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
484 B
Plaintext
20 lines
484 B
Plaintext
inherit pip_install_wheel python3native python3-dir setuptools3-base
|
|
|
|
DEPENDS += "python3 python3-flit-core-native"
|
|
|
|
flit_core_do_configure () {
|
|
:
|
|
}
|
|
|
|
# Where to execute the build process from
|
|
PEP517_SOURCE_PATH ?= "${S}"
|
|
|
|
# TODO: ideally this uses pypa/build
|
|
flit_core_do_compile () {
|
|
cd ${PEP517_SOURCE_PATH}
|
|
nativepython3 -mflit_core.wheel --outdir ${PIP_INSTALL_DIST_PATH}
|
|
}
|
|
do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
|
|
|
|
EXPORT_FUNCTIONS do_configure do_compile
|