[Distutils] Review of latest draft of PEP 426 (Python package etadata v1.3)

Marcus Smith qwcode at gmail.com
Thu Jan 31 03:23:22 CET 2013


> I'm not sure I understand this point. Shouldn't that default be
> "pkg_resources",
> given that all the existing distributions on PyPI will work with that
> scheme and
> not have the Version-Scheme present in their metadata?
>
>
afaik, all existing distributions will be Metadata-version:1.0 (or 1.1) ,
so 1.3 logic won't apply, right?
for <1.3, the correct assumption would be "legacy" or "pkg_resources"

py3.3 distutils has logic like this:

       version = '1.0'
        if (self.provides or self.requires or self.obsoletes or
            self.classifiers or self.download_url):
            version = '1.1'

Metadata-version is not a user choice.

the only thing I know of writing 1.3 metadata now is "bdist_wheel" for
building wheels.

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130130/4dc8a0fd/attachment-0001.html>


More information about the Distutils-SIG mailing list