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

skip at pobox.com skip at pobox.com
Thu Apr 27 15:18:50 CEST 2006


    Guido> One particular egregious problem is that *subpackage* are subject
    Guido> to the same rule. It so happens that there is essentially only
    Guido> one top-level package in the Google code base, and it already has
    Guido> an __init__.py file. But developers create new subpackages at a
    Guido> frightening rate, and forgetting to do "touch __init__.py" has
    Guido> caused many hours of lost work, not to mention injuries due to
    Guido> heads banging against walls.

That's why God created make:

    install:
        touch __init__.py
        blah blah blah

Skip


More information about the Python-Dev mailing list