mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
The installer can install itself by simply adding src/ to PYTHONPATH. As this previously used unzip, we need to disable bytecode as otherwise the newly packaged .pyc files conflict with the any generated .pyc files in the sysroot. (From OE-Core rev: 825176ea8130a50cce221678f6fcba25ac956950) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
800 B
BlitzBasic
25 lines
800 B
BlitzBasic
SUMMARY = "Library and tool for installing Python wheels"
|
|
DESCRIPTION = "A low-level library for installing a Python package from a wheel distribution."
|
|
HOMEPAGE = "https://installer.readthedocs.io/"
|
|
BUGTRACKER = "https://github.com/pypa/installer/issues"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00"
|
|
|
|
SRC_URI += "file://interpreter.patch"
|
|
|
|
SRC_URI[sha256sum] = "f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445"
|
|
|
|
inherit pypi python_flit_core
|
|
|
|
# Bootstrap the native install by installing with ourself
|
|
DEPENDS:remove:class-native = "python3-installer-native"
|
|
|
|
INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
|
|
|
|
do_install:prepend:class-native() {
|
|
export PYTHONPATH="${S}/src"
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|