So, I think bundling it together is a good idea, but not the way loggerhead does it. I think it'd be better to have a separate package for the plugin, and use distutils/setuptools/distribute to handle putting the package in the right place on the python path.
In any case, I don't think __init__.py is a good place for this code.
So, I think bundling it together is a good idea, but not the way loggerhead does it. I think it'd be better to have a separate package for the plugin, and use distutils/ setuptools/ distribute to handle putting the package in the right place on the python path.
In any case, I don't think __init__.py is a good place for this code.