Earlier quoted context omitted.
That doesn’t make sense either because pure python packages exist and are actively less useful if distributed as wheels
And I have no clue what you just said. :D It serves only as a further confusion. But yeah, Python is notorious for its numerous (and likely all sub-optimal) approaches to packaging.
99% of top Python packages are now wheels
71–79 of 79 posts
Re: 99% of top Python packages are now wheels
#72Earlier quoted context omitted.
And I have no clue what you just said. :D It serves only as a further confusion. But yeah, Python is notorious for its numerous (and likely all sub-optimal) approaches to packaging.
The benefit of wheels is that they’re platform specific so that you don’t need to have a lengthy and dependency ridden compile process, you just install the one that works on your OS and architecture and you’re good. Packages written entirely in Python don’t have this problem since the code is pretty much just copied into dist-packages
I'd still try to shove the platform-specific stuff in a package manager and delegate that complexity to it.
Re: 99% of top Python packages are now wheels
#73Earlier quoted context omitted.
The benefit of wheels is that they’re platform specific so that you don’t need to have a lengthy and dependency ridden compile process, you just install the one that works on your OS and architecture and you’re good. Packages written entirely in Python don’t have this problem since the code is pretty much just copied into dist-packages
I see, thank you, that's much better. I'd still try to shove the platform-specific stuff in a package manager and delegate that complexity to it.
Re: 99% of top Python packages are now wheels
#74Earlier quoted context omitted.
That is pretty awesome! Why is all the "wheels", "eggs", "PyPi" ... stuff needed then?
Because so much Python code binds to C extensions that you will need to compile for the correct platform. For instance the new version of Pydantic is now backed by Rust. To avoid everyone having to compile the rust code on their platform, you can upload it pre-compiled for linux, windows etc.
Re: 99% of top Python packages are now wheels
#75For people who are confused by this: "Wheel has an official standard specification. Egg did not. Wheel is a distribution format, i.e a packaging format. 1 Egg was both a distribution format and a runtime installation format (if left zipped), and was designed to be importable. Wheel archives do not include .pyc files." [1] [1] https://packaging.python.org/discussions/wheel-vs-egg/
Re: 99% of top Python packages are now wheels
#76Earlier quoted context omitted.
This is, other than the fact it violates UNIX principles, my biggest issue with Homebrew.
Which UNIX principles do you believe it violates?
Re: 99% of top Python packages are now wheels
#77For people who are confused by this: "Wheel has an official standard specification. Egg did not. Wheel is a distribution format, i.e a packaging format. 1 Egg was both a distribution format and a runtime installation format (if left zipped), and was designed to be importable. Wheel archives do not include .pyc files." [1] [1] https://packaging.python.org/discussions/wheel-vs-egg/
Wtf is an egg?
Re: 99% of top Python packages are now wheels
#78Re: 99% of top Python packages are now wheels
#7930 years later I still love programming but people given authority opting for cutesy names for critically important terms in the ecosystem should be severely limited in their options. Flakes, pills, wheels, eggs... Come on, people. I am willing to bet good money that it won't hurt you physically if you just call them "packages".