[Python-Dev] PEP 396, Module Version Numbers (original) (raw)
Barry Warsaw barry at python.org
Tue Apr 12 21:32:32 CEST 2011
- Previous message: [Python-Dev] PEP 396, Module Version Numbers
- Next message: [Python-Dev] PEP 396, Module Version Numbers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Apr 07, 2011, at 12:51 PM, Michael Foord wrote:
So I don't think recommending "pkgutil.getdistribution('elle').metadata['version']" as a way for packages to provide version information is good advice.
I want to make it clear that this section of the PEP is intended only to provide some choices and examples, not to be definitive. I've added this text:
This could be done in any number of ways, a few of which are outlined
below. These are included for illustrative purposes only and are not
intended to be definitive, complete, or all-encompassing. Other
approaches are possible, and some included below may have limitations
that prevent their use in some situations.
Does that help? -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20110412/eca2c019/attachment.pgp>
- Previous message: [Python-Dev] PEP 396, Module Version Numbers
- Next message: [Python-Dev] PEP 396, Module Version Numbers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]