]> code.ossystems Code Review - openembedded-core.git/commit
setuptools_build_meta: respect PIP_INSTALL_DIST_PATH
authorRoss Burton <ross@burtonini.com>
Tue, 8 Mar 2022 14:30:32 +0000 (14:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2022 11:46:23 +0000 (11:46 +0000)
commit1a3625c576afe823efc50dc0b1071e4952339f8e
tree38d7d38f4fbe6b693758f7578b5570d9073fe666
parentf85b512e2ad39ec32f11f9b25b8c92bea20c844d
setuptools_build_meta: 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.

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