mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 11:43:04 +01:00
For the build process to actually work some inherits are always needed: - python3native for the python that is actually running build. - setuptools3-base (badly named) defines how to build extensions and where to put modules. Instead of inheriting these in every class, inherit them once in the python_pep517 class. (From OE-Core rev: 449b226aca6a5db378dc5576dde47499925dfb26) 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>
14 lines
342 B
Plaintext
14 lines
342 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
inherit 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"
|