[Distutils] DRAFT PEP 396 - module version number

Ben Finney ben+python at benfinney.id.au
Thu Jun 9 02:52:31 CEST 2011


Barry Warsaw <barry at python.org> writes:

> #. When a module (or package) includes a version number, the version
>    SHOULD be available in the ``__version__`` attribute.
>
> #. For modules which live inside a namespace package, the sub-package
>    name SHOULD include the ``__version__`` attribute.  The namespace
>    module itself SHOULD NOT include its own ``__version__`` attribute.

I still find a little ambiguity in “the ``__version__`` attribute”, but
it's much improved, thanks. I think those paragraphs are good.

-- 
 \          “It is clear that thought is not free if the profession of |
  `\           certain opinions makes it impossible to earn a living.” |
_o__)  —Bertrand Russell, _Free Thought and Official Propaganda_, 1928 |
Ben Finney
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20110609/a66b8456/attachment.pgp>


More information about the Distutils-SIG mailing list