[Distutils] RFC: Binary Distribution Format for distutils2/packaging

PJ Eby pje at telecommunity.com
Wed Mar 14 04:00:52 CET 2012

On Tue, Mar 13, 2012 at 8:18 PM, Jim Fulton <jim at zope.com> wrote:

> 3) New egg-like format "pbd"
>   - Arrange suffix so ignored by setuptools/distribute
>     - new-style meta data
>     - would be a zip file
>   - Essentially, .egg format with new-style meta data and different
>     suffix.

FWIW, if I were designing the .egg format today with 20/20 hindsight, I
would use 'package-version.egg-info' instead of 'EGG-INFO' as the metadata
directory.  It would make discovery and converting to flat
(pip/legacy-style) installations easier, as you could just unzip to the
target directory.

Apart from that, I'm not sure what else you'll actually gain by introducing
a new format.  IIUC, what new-style metadata egg files lack can be
determined programmatically from their contents or the existing metadata
files, so there seems to be little reason not to at least consume existing
egg files.

Conversely, egg files support arbitrary metadata -- which means you can
include whatever additional new-style data you want...  so there seems
little reason not to simply add whatever extra metadata you want to them.

But perhaps there was some consideration or use case I'm not aware of?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20120313/e37ba781/attachment.html>

More information about the Distutils-SIG mailing list