On Apr 21, 2007, at 3:35 PM, Christoph Zwerschke wrote:

>
> Alberto Valverde wrote:
>> Hmm, that's weird. I've tried importing "dispatch" and didn't
>> complaint. Do you have a traceback so we can see where the problem
>> comes from? I susect it has something to do with the namespace
>> packakes peak uses.
>>
>> I would really like not to include PEAK as another TG dependency
>> since it's pretty big, we don't use it and some of its functionallity
>> overlaps with what we have (peak.web, peak.database, etc...)
>
> I also installed RuleDispatch last week without PEAK and it didn't
> complain. But Florent is right, RuleDispatch imports
> peak.util.decorators in two places. This code is probably only  
> executed
> under certain conditions. I think we should check with Phillip Eby
> whether this is really necessary; if it is, it should be also added to
> "install_requires" which currently lists only PyProtocols.

peak.util.decorators is inside DecoratorTools, not PEAK ("peak" and  
"peak.util"  are namespace packages [1]). You can test this by  
importing it without installing PEAK. I'm pretty sure Phillip would  
have listed PEAK as an install_requires of RD if it was really  
needed. :)

Alberto

[1] http://tinyurl.com/yoxo3o

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to