mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
python_setuptools_build_meta: clean the build directory in configure
It's not currently possible to set the build tree to be somewhere we control, but we know it will always be in the build directory alongside the pyproject.toml so we can [cleandirs] that. (From OE-Core rev: 383862cfe4c5acf04124080827c8bc6d00b2e86d) 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:
committed by
Richard Purdie
parent
6c0b36feb9
commit
ad488915b0
@@ -7,3 +7,7 @@
|
||||
inherit setuptools3-base python_pep517
|
||||
|
||||
DEPENDS += "python3-setuptools-native python3-wheel-native"
|
||||
|
||||
# This isn't nice, but is the best solutions to ensure clean builds for now.
|
||||
# https://github.com/pypa/setuptools/issues/4732
|
||||
do_configure[cleandirs] = "${PEP517_SOURCE_PATH}/build"
|
||||
|
||||
Reference in New Issue
Block a user