Re:Bundling binary tools in Python wheels
by mid-kid on Friday June 17, 2022 @12:34PM
(#31780706)
This sort of thing sounds like something better left to a proper package manager like Nix. Reproducibility and a complete top-to-bottom dependency chain are key in making sure a package works well into the future.
[ Parent
| on HN ]
Which is all nice in theory except you have to meet people where they are and that’s using pip and publishing on Pypi. Unless you can auto-nixify an arbitrary Python package, and in this case an arbitrary binary package, you’re gonna end up doing a lot of work to get that reproducibility.
I don’t use pip because I like pip, I use it because that’s where the software I want is.
Nix has some serious ergonomics issues that need to be addressed. This is dead simple by comparison. Wheels are just zip archives with some specific semantics. Like, I wanted to get into Nix but it's super daunting and there's no real way to gradually migrate a project into it - it's very all-or-nothing.