[Python-Dev] PEP 376 and PEP 302 - allowing import hooks to provide distribution metadata
M.-A. Lemburg
mal at egenix.com
Tue Jul 7 09:50:34 CEST 2009
Paul Moore wrote:
> 2009/7/7 Ben Finney <ben+python at benfinney.id.au>:
>> Paul Moore <p.f.moore at gmail.com> writes:
>>
>>> In fact, the above strongly suggests to me that PEP 376 must NOT
>>> follow setuptools conventions - otherwise, it will end up clashing
>>> with the files setuptools is putting on my system.
>> I think the argument for a separate ‘.pydist’ metadata directory,
>> normative in PEP 376, is a good one.
>
> I've been convinced otherwise. There's no long-term benefit (the
> directory layout and format is the same, so it's a purely cosmetic
> change) and we're doing no favours to anyone just adding a new format
> for the sake of it.
The PEP should take the chance to define not only the
directory, but also the complete set of files in there and
their format.
A typical setuptools dir looks like this:
dependency_links.txt
namespace_packages.txt
not-zip-safe
PKG-INFO
requires.txt
SOURCES.txt
top_level.txt
Ie. a complete mess of upper-case/lower-case names, names with
underscores or hyphens as word separator, files with extensions,
files without them.
This needs some serious cleanup.
A new dir name will allow to do this, so +1 on a new dir name.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Jul 07 2009)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Python-Dev
mailing list