Here are some of the problems with eggs that I tried to solve: - Cannot be unzipped on top of each other due to the EGG-INFO directory. Wheels repeat the package name in the dist-info directory and are more like their installed layout, hopefully taking all the mystery out of the format. - The egg naming scheme doesn't let you distinguish between Python interpreter implementations (not an important issue at the time). - They include .pyc and so are always [at least somewhat] Python version specific. Wheels don't. - Eggs do not have categories of files. Wheel uses subdirectories of the .data/ directory, and are therefore a complete replacement for most other kinds of bdist_x - And of course wheels use .dist-info which is also something that is newer than eggs, and generally try to bring the useful packaging PEP work into reality. I remember dealing with the zipped eggs hassle, and I remember having to wait too long for binary packages to be uploaded to pypi as eggs when a new Python version was released.
-------------------------------------------- On Wed, 29/1/14, Daniel Holth <dholth@gmail.com> wrote:
Here are some of the problems with eggs that I tried to solve: [snipped] Right, and the wheel design has addressed those issues. I suppose what I was after was the kinds of problems that would arise from the importability of wheels, which seems to be causing so much fear, uncertainty and doubt :-)
Regards, Vinay Sajip
btw, there's a stub in the PUG for "Wheel vs Egg", if anyone wants to help fill that out. https://python-packaging-user-guide.readthedocs.org/en/latest/technical.html... On Wed, Jan 29, 2014 at 7:07 AM, Vinay Sajip <vinay_sajip@yahoo.co.uk>wrote:
-------------------------------------------- On Wed, 29/1/14, Daniel Holth <dholth@gmail.com> wrote:
Here are some of the problems with eggs that I tried to solve: [snipped] Right, and the wheel design has addressed those issues. I suppose what I was after was the kinds of problems that would arise from the importability of wheels, which seems to be causing so much fear, uncertainty and doubt :-)
Regards,
Vinay Sajip _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
participants (3)
-
Daniel Holth
-
Marcus Smith
-
Vinay Sajip