[Distutils] DRAFT PEP 396 - module version number

Fred Drake fdrake at acm.org
Wed Jun 8 05:56:36 CEST 2011


On Tue, Jun 7, 2011 at 11:48 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
>    For modules which are also packages, the ``__version__`` attribute
>    SHOULD be in the module's namespace.

This suggests to me that there's no need to describe it as a special case.  A
importable directory contains an __init__.py; it's represented as a module at
runtime, just like any other.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at acm.org>
"Give me the luxuries of life and I will willingly do without the necessities."
   --Frank Lloyd Wright


More information about the Distutils-SIG mailing list