diff options
| -rw-r--r-- | meta/classes/flit_core.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/flit_core.bbclass b/meta/classes/flit_core.bbclass index 3481bb5089..7b578967a9 100644 --- a/meta/classes/flit_core.bbclass +++ b/meta/classes/flit_core.bbclass | |||
| @@ -6,8 +6,12 @@ flit_core_do_configure () { | |||
| 6 | : | 6 | : |
| 7 | } | 7 | } |
| 8 | 8 | ||
| 9 | # Where to execute the build process from | ||
| 10 | PEP517_SOURCE_PATH ?= "${S}" | ||
| 11 | |||
| 9 | # TODO: ideally this uses pypa/build | 12 | # TODO: ideally this uses pypa/build |
| 10 | flit_core_do_compile () { | 13 | flit_core_do_compile () { |
| 14 | cd ${PEP517_SOURCE_PATH} | ||
| 11 | nativepython3 -mflit_core.wheel --outdir ${PIP_INSTALL_DIST_PATH} | 15 | nativepython3 -mflit_core.wheel --outdir ${PIP_INSTALL_DIST_PATH} |
| 12 | } | 16 | } |
| 13 | do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" | 17 | do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" |
