blob: d7f1e79a5ca674a28baf209613d7cb6080cf73d1 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Library and tool for installing Python wheels"
2DESCRIPTION = "A low-level library for installing a Python package from a wheel distribution."
3HOMEPAGE = "https://installer.readthedocs.io/"
4BUGTRACKER = "https://github.com/pypa/installer/issues"
5
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00"
8
9SRC_URI += "file://interpreter.patch"
10
Patrick Williams8e7b46e2023-05-01 14:19:06 -050011SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631"
Andrew Geissler517393d2023-01-13 08:55:19 -060012
13inherit pypi python_flit_core
14
15# Bootstrap the native build
Andrew Geisslerc5535c92023-01-27 16:10:19 -060016DEPENDS:remove:class-native = "python3-build-native python3-installer-native"
Andrew Geissler517393d2023-01-13 08:55:19 -060017
18INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
19
20do_compile:class-native () {
21 python_flit_core_do_manual_build
22}
23
24do_install:prepend:class-native() {
25 export PYTHONPATH="${S}/src"
26}
27
28BBCLASSEXTEND = "native nativesdk"