Maurits van Rees wrote:
> BTW, I added 'collective.generations' to the collective.  (Feel free
> to rename it.) But when I add this literally to my Products dir or my
> lib/python dir as collective.generations I get import errors like
> this:

>     ImportError: No module named collective.generations
> 
> Should I rename it to a 'dot-less' name when putting it in my Products
> dir or can I do this in a different way?

'collective.generations' is not a valid Python package name.  You need one
(namespace) package for 'collective' and one for 'generations'.  Look at the
other collective namespace packages in the collective for examples.


-- 
http://danielnouri.org


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to