3 ms·
Why is a C++ project being distributed on PyPi at all?
by endgame 6mo ago
Why is a C++ project being distributed on PyPi at all?
- grim_io 6mo agoProbably for the same reason other binaries are distributed by npm: lack of cross platform general package managers and registries
- mikepurvis 6mo agoAlso for cases where a python project needs to depend on it.
- Ferret7446 6mo agoKinda weird to have the language toolchain wrap the build system, should be the other way around.
- mikepurvis 6mo agoYes, but I mean... this is Python we're talking about. There are several build systems / coordinators written in Python (scons, colcon, etc) not to mention Python packages that themselves contain compiled bits written in other languages. I know nowadays we have formalized, cross-platform ways to build bindings (scikit-build-core, etc), but that is a relatively recent development; for a long ass time it was pretty common place to have a setup.py full of shell-outs to native toolchains and build tools. It's not hard to imagine a person in that headspace feeling like being able to pull that stuff directly from pypi would be an upgrade over trying to detect it missing and instruct the user to install it before trying again.
- verdverm 6mo agoOr lack of a tool like Goreleaser in the language ecosystem that handles that
- zahlman 6mo agoYou may be interested in this discussion: https://discuss.python.org/t/use-of-pypi-as-a-generic-storage-platform-for-binaries/106044 https://discuss.python.org/t/use-of-pypi-as-a-generic-storag...
- tadfisher 6mo agoBecause the development world either hasn't heard of nix or has collectively decided to not use nix.
- hulitu 6mo agoYou need to bundle a supply chain attack with it. /s