4 ms·
FWIW, I think you're mixing eggs up with source distributions ("sdists"): eggs are much closer to wheels in that they're a "built" copy of the package rather th
by woodruffw 3y ago
FWIW, I think you're mixing eggs up with source distributions ("sdists"): eggs are much closer to wheels in that they're a "built" copy of the package rather than a collection of source that requires dynamic code execution for metadata generation.
The main reason they're being removed is because, unlike wheels, they were never really standardized and have effectively been a vestige of the packaging ecosystem since ~2016.
- PaulHoule 3y agoThey still compute the dependency list programmatically with the setup.py.
- woodruffw 3y agoHum, for some reason I thought it was part of the pre-baked `EGG-INFO`. Apologies if I was wrong! (Either way, Python's dynamic metadata generation will unfortunately remain present: sdists fundamentally require it even with PEP 517/8, so deprecating eggs doesn't unlock a change there.)
- PaulHoule 3y agoI went and looked at the docs and there is supposed to be a PKG-INFO in the egg which has the ‘Requires’ statement for dependencies so it looks like I was wrong but boy those docs are bad. (Had to look at several to find the answer)