]> code.ossystems Code Review - openembedded-core.git/commit
flit_core: respect PIP_INSTALL_DIST_PATH
authorRoss Burton <ross@burtonini.com>
Tue, 8 Mar 2022 14:30:30 +0000 (14:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2022 11:46:23 +0000 (11:46 +0000)
commita3d9eb8051bc2effb8130b1743ba251c1fe7c525
tree0d49832ac34337711035f0f35f2b575fa3917716
parentb6172a98c25f5b0e700e6d84e19d6a1aa7d56780
flit_core: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Also call the flit_core.wheel module directly as this is a public entry
point to the wheel building logic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/flit_core.bbclass