Sorry to say that - but to me (even though it's more work) pip seems to be the better option - the proposed tool is ~8 months old and not part of pypa community as it seems - so in comparison to pip this could not be labeled "battle proven".

Especially as the second patch of the series removes the possibility to use the tooling proposed by python upstream for installing stuff.

If one would want to have that kind of tooling the switch from pure setup.py to toml and friends could have been done already a year ago (python-build was the originally proposed tool iirc) - so this feels to me like a step in the wrong direction (esp. the part that this would rely on a tool **not** supported by upstream)

On 10.03.22 18:16, Ross Burton wrote:
Add a recipe for Installer, a minimal library/tool to install Python
Wheels.  Unlike PIP, it explicitly only installs wheels and does nothing
else.

Signed-off-by: Ross Burton <ross.bur...@arm.com>
---
  .../python/python3-installer_0.5.0.bb         | 20 +++++++++++++++++++
  1 file changed, 20 insertions(+)
  create mode 100644 meta/recipes-devtools/python/python3-installer_0.5.0.bb

diff --git a/meta/recipes-devtools/python/python3-installer_0.5.0.bb 
b/meta/recipes-devtools/python/python3-installer_0.5.0.bb
new file mode 100644
index 0000000000..bde9397569
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-installer_0.5.0.bb
@@ -0,0 +1,20 @@
+SUMMARY = "A library for installing Python wheels"
+DESCRIPTION = "a low-level library for installing a Python package from a wheel 
distribution."
+HOMEPAGE = "https://installer.readthedocs.io/";
+BUGTRACKER = "https://github.com/pradyunsg/installer/issues";
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00"
+
+SRC_URI[sha256sum] = 
"0cd6bdab3b358cf7e8749370b99aef9e12202751271c5ddb22126599b34dc665"
+
+inherit pypi flit_core
+
+DEPENDS:remove:class-native = "python3-installer-native"
+DEPENDS:append:class-native = " unzip-native"
+
+do_install:class-native () {
+    pip_install_wheel_do_bootstrap_install
+}
+
+BBCLASSEXTEND = "native nativesdk"





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163034): 
https://lists.openembedded.org/g/openembedded-core/message/163034
Mute This Topic: https://lists.openembedded.org/mt/89691492/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to