]> granicus.if.org Git - python/commit
Document that packaging doesn’t create __init__.py files (#3902).
authorÉric Araujo <merwok@netwok.org>
Fri, 21 Oct 2011 05:34:00 +0000 (07:34 +0200)
committerÉric Araujo <merwok@netwok.org>
Fri, 21 Oct 2011 05:34:00 +0000 (07:34 +0200)
commit4d4b19e294e3748b0e68fec4278d5bde0b0011c8
tree8d2785c0eac42c0fb99c5126720011d382ee3a96
parentf89ebdc358402588db893e18e4dd31bc8272b7bf
Document that packaging doesn’t create __init__.py files (#3902).

The bug reported expected distutils to create an __init__.py file for a
project using only C extension modules.  IMO, how Python imports
packages and submodules is well documented, and it’s never suggested
that distutils might create an __init__.py file, so I’m adding this
clarification to the packaging docs but won’t backport unless other
people tell me they shared the same wrong expectation.

Thanks to Mike Hoy for his help with the patch.
Doc/library/packaging.compiler.rst
Doc/packaging/setupscript.rst