Kees Hink wrote: > In order to use Products.sqlpfgadapter [1] with collective.megaphone, some > additional (zcml) setup is needed that i'd like to keep in a separate product. > > I'd like to use the "collective.megaphone" namespace [2], > "collective.megaphone.sqlstorage" seems a good name for the product. Would you > agree?
As far as I understand http://www.python.org/dev/peps/pep-0382/ and setuptools and friends you cannot do that since collective.megaphone is already defined as non-namespace package. In general I would recommend against nested namespaces unless there is a really good reason - which I cannot see here. As others suggested before consider something like collective.megaphonesql Raphael > > On a related note: While developing a develop-egg called > "collective.megaphone.sqlstorage" with collective.recipe.omelette, i got an > import error [2] which seems to come from a namespace clash [3]. It's no big > deal, i can just ditch omelette. But is there a workaround? > > Kees > > [1] http://pypi.python.org/pypi/Products.sqlpfgadapter > [2] ImportError: No module named i18nmessageid () (http://pastie.org/1169650) > [3] because it went away when i renamed my product to collective.megaphone_sql _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
