python3-scons: remove PIP_INSTALL_DIST_PATH
PATCH 1/2 python3-scons: remove PIP_INSTALL_DIST_PATH
The default is good now, so remove this.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/python/python3-scons_4.3.0.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/python/python3-scons_4.3.0.bb +0 -1
@@ -8,7 +8,6 @@ SRC_URI += " file://0001-Fix-man-page-installation.patch" SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879" PYPI_PACKAGE = "SCons" -PIP_INSTALL_DIST_PATH = "${B}/build/dist" inherit pypi setuptools3
Signature · 1 line
2.25.1
PATCH 2/2 pip_install_wheel: generate the wheels in directory we control outside of S
Set the wheel distribution location, PIP_INSTALL_DIST_PATH, to a directory under WORKDIR to enhance out-of-tree builds.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes/pip_install_wheel.bbclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
meta/classes/pip_install_wheel.bbclass +6 -1
@@ -7,7 +7,12 @@ def guess_pip_install_package_name(d): return name.replace('-', '_') PIP_INSTALL_PACKAGE ?= "${@guess_pip_install_package_name(d)}" -PIP_INSTALL_DIST_PATH ?= "${@d.getVar('SETUPTOOLS_SETUP_PATH') or d.getVar('B')}/dist" + +# The directory where wheels should be written too. Build classes +# will ideally [cleandirs] this but we don't do that here in case +# a recipe wants to install prebuilt wheels. +PIP_INSTALL_DIST_PATH ?= "${WORKDIR}/dist" + PYPA_WHEEL ??= "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-*-*.whl" PIP_INSTALL_ARGS = "\
Signature · 1 line
2.25.1