Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 1 | inherit pip_install_wheel python3native python3-dir |
2 | |||||
3 | DEPENDS += "python3 python3-flit-core-native python3-pip-native" | ||||
4 | |||||
5 | do_configure () { | ||||
6 | mkdir -p ${S}/dist | ||||
7 | cat > ${S}/build-it.py << EOF | ||||
8 | from flit_core import buildapi | ||||
9 | buildapi.build_wheel('./dist') | ||||
10 | EOF | ||||
11 | } | ||||
12 | |||||
13 | do_compile () { | ||||
14 | ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} ${S}/build-it.py | ||||
15 | } | ||||
16 |