Remix.run Logo
grim_io 2 days ago

Probably for the same reason other binaries are distributed by npm: lack of cross platform general package managers and registries

mikepurvis 2 days ago | parent | next [-]

Also for cases where a python project needs to depend on it.

Ferret7446 a day ago | parent [-]

Kinda weird to have the language toolchain wrap the build system, should be the other way around.

mikepurvis 17 hours ago | parent [-]

Yes, 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 2 days ago | parent | prev [-]

Or lack of a tool like Goreleaser in the language ecosystem that handles that