mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
classes/python_pep517: use pyproject-build instead of nativepython3
The build package installs an entry point now, so we run that instead of calling the module directly. (From OE-Core rev: e064e71b4003666de1644f8e3c08ed6844d710e5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5e22ec20b4
commit
f695ef07d3
|
|
@ -39,7 +39,7 @@ python_pep517_do_configure () {
|
|||
# When we have Python 3.11 we can parse pyproject.toml to determine the build
|
||||
# API entry point directly
|
||||
python_pep517_do_compile () {
|
||||
nativepython3 -m build --no-isolation --wheel --outdir ${PEP517_WHEEL_PATH} ${PEP517_SOURCE_PATH} ${PEP517_BUILD_OPTS}
|
||||
pyproject-build --no-isolation --wheel --outdir ${PEP517_WHEEL_PATH} ${PEP517_SOURCE_PATH} ${PEP517_BUILD_OPTS}
|
||||
}
|
||||
do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user