Daniel Nouri, on 2007-05-12:
> 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.

Ah, of course.  Thanks.

-- 
Maurits van Rees | http://maurits.vanrees.org/ [NL]
            Work | http://zestsoftware.nl/
"Do not worry about your difficulties in computers,
 I can assure you mine are still greater."


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

Reply via email to