4 ms·
For anyone not familiar: You can bundle arbitrary software as Python wheels. Can be convenient in cases like this!
by the__alchemist 1y ago
For anyone not familiar: You can bundle arbitrary software as Python wheels. Can be convenient in cases like this!
- johnisgood 1y agoWhat "cases" are those? Tell me one useful and neat case. Why is it useful and neat, you think?
- IshKebab 1y agoIt's useful as a distro-agnostic distribution method. CMake is also installable like this despite having nothing to do with Python. Or I should say it was useful as a distribution method, because most people had Python already available. Since most distros now don't allow you to install stuff outside a venv you need uv to install things (via `uv tool install`) and we're not yet at the point where most people already have uv installed.
- the__alchemist 1y agoFor one example, a number of years back, I built a python package, env, and version manager. It was built entirely Rust and distributed as a binary. Since I know users would likely have pip installed, it provided an easy way for them to install, regardless of OS. You could go further like in this case, and use wheels + PyPi for something unrelated to Python.
- gordonhart 1y agoBundling a browser frontend together with your Python application.
- f311a 1y agouv and ruff use that Approach. They are Python related tools, but written 100% in Rust.
- eternityforest 1y agoI believe it is used to cross platform link Rust/maturin wheels, which seems nice because it's one fewer unusual install script to integrate into your project, if zig isn't packaged for Debian yet.