5 ms·
Packages are wheels? lolwut? > Wheels are the new standard of Python distribution and are intended to replace eggs. Ahhh... ???
by kalekold 3y ago
Packages are wheels? lolwut?
> Wheels are the new standard of Python distribution and are intended to replace eggs.
Ahhh... ???
- loxdalen 3y agoThe linked page has hyperlinks that you can click to get to the specification for at least Wheels.
- LegitShady 3y agoPokemon are involved it gets a little confusing.
- incrudible 3y agoPackages are a language-level concept in Python. A package may be a collection of source files on the filesystem, it's still a package, except that doesn't lend itself well to distribution. Moreover, from the language standpoint, the usage of a package (like "import numpy") is the same on all architectures, but the files needed for distribution (native extension module binaries) may differ. Python is rife with Monty Python references, such as "spam and eggs" in place of "foo and bar", so "egg" was a natural choice.
- loxdalen 3y agoAnd here is the reasoning for naming it wheel: https://github.com/pypa/wheel/blob/3c7b6a0d13ee036ea8f6488ab4ecddd9826c00db/docs/index.rst#slogans https://github.com/pypa/wheel/blob/3c7b6a0d13ee036ea8f6488ab.... Probably a reference to Monty Python as well (https://en.wikipedia.org/wiki/Cheese_Shop_sketch https://en.wikipedia.org/wiki/Cheese_Shop_sketch)
- jasomill 3y agoDefinitely — the Python Package Index started off as the Python Cheese Shop: https://tech.slashdot.org/story/05/08/01/0150222/pythons-cheese-shop-now-open https://tech.slashdot.org/story/05/08/01/0150222/pythons-che... https://web.archive.org/web/20051027102030/http://cheeseshop.python.org/pypi https://web.archive.org/web/20051027102030/http://cheeseshop...