[Python-Dev] Dropping __init__.py requirement for subpackages

skip at pobox.com skip at pobox.com
Thu Apr 27 15:21:09 CEST 2006


    >> Not that it would count in any way, but I'd prefer to keep it. How
    >> would I mark a subdirectory as "not-a-package" otherwise?

    Guido> What's the use case for that? Have you run into this requirement?

Yes, we run into it.  We typically install a package with any resources in a
resources subdirectory.  Now, those resources subdirectories generally don't
contain Python files (Glade files are the most frequent occupants), but
there's no reason they couldn't contain Python files.

Skip


More information about the Python-Dev mailing list