mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 20:53:03 +01:00
Make do_configure do nothing by default as the base configure isn't useful, and invoke the build API directly instead of writing a script. In the future, this can simply call python3-build. (From OE-Core rev: ccad9d0218ef69bdb8c708029445fcd661f1c490) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
387 B
Plaintext
16 lines
387 B
Plaintext
inherit pip_install_wheel setuptools3-base
|
|
|
|
DEPENDS += "python3-setuptools-native python3-wheel-native"
|
|
|
|
setuptools_build_meta_do_configure () {
|
|
:
|
|
}
|
|
|
|
# TODO: ideally this uses pypa/build
|
|
setuptools_build_meta_do_compile () {
|
|
mkdir -p ${S}/dist
|
|
nativepython3 -c "from setuptools import build_meta; build_meta.build_wheel('./dist')"
|
|
}
|
|
|
|
EXPORT_FUNCTIONS do_configure do_compile
|