mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
This helps bridge the old setuptools3 behavior.
FILES:${PN} has sane defaults in setuptools3-base
(From OE-Core rev: b1bb4e2d73985c6e8cf03b0fea94e8b739648cf7)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
378 B
Plaintext
17 lines
378 B
Plaintext
inherit pip_install_wheel python3native python3-dir setuptools3-base
|
|
|
|
DEPENDS += "python3 python3-flit-core-native python3-pip-native"
|
|
|
|
do_configure () {
|
|
mkdir -p ${S}/dist
|
|
cat > ${S}/build-it.py << EOF
|
|
from flit_core import buildapi
|
|
buildapi.build_wheel('./dist')
|
|
EOF
|
|
}
|
|
|
|
do_compile () {
|
|
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} ${S}/build-it.py
|
|
}
|
|
|