[Python-Dev] PEP 376 and PEP 302 - allowing import hooks to provide distribution metadata

Ronald Oussoren ronaldoussoren at mac.com
Mon Jul 6 08:16:08 CEST 2009


I'm -1 on changing the name. For better or worse setuptools is the  
elephant in the room w.r.t. package management and it would IMHO be  
better to stay compatible (even if the stdlib only implements a subset  
of setuptools/pkg_resources)

Ronald



On 5 jul 2009, at 23:10, Nick Coghlan <ncoghlan at gmail.com> wrote:

> Tarek Ziadé wrote:
>> 2009/7/5 P.J. Eby <pje at telecommunity.com>:
>>> If you want a
>>> clearer name, '.pydist' or some such would at least be reasonably  
>>> specific.
>>> (It'd still have a backward compatibility problem, but at least then
>>> there'd be some benefit to the name change.)
>>
>> I do find "DIST_NAME.metadata" well-named and specific. But I guess  
>> that's just
>> bikeshedding :)
>
> pydist has the advantage of both being more intuitive than 'egginfo'
> while still making it clear that this is Python related metadata  
> rather
> than, say, something added by an OS packaging utility. So no, I don't
> think it's bikeshedding:
>
> 'metadata': accurate but generic. Not clear that it relates to Python
> specifically (except that it happens to stored in a Python related
> directory)
>
> 'egginfo': accurate, specific and serves as a good mnemonic. However,
> use of the 'egg' jargon means that someone is unlikely to guess what  
> it
> means without being told, and it's less obvious that this is Python  
> related
>
> 'pydist': accurate, specific and without the disadvantages of the  
> 'egg'
> jargon
>
> PJE points out that existing tools (setuptools, pip, etc) won't be
> compatible with the new format at all if it uses a new name, but I am
> having trouble seeing that as a *bad* thing. By using a new name for  
> the
> directory we *guarantee* that old packaging utilities won't get  
> confused
> by the new format (they simply won't acknowledge its existence).
>
> So +1 for pydist as the directory extension in PEP 376 (for the above
> reasons).
>
> Cheers,
> Nick.
>
> -- 
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> ---------------------------------------------------------------
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ronaldoussoren%40mac.com


More information about the Python-Dev mailing list