Jorge Vargas wrote:
>>>  but I'm not sure what -- speed is unimportant in this case, as
>>> are most features except stability, simplicity, and orthogonality
>>> to the Python code you are rendering)
>> We are actually using Cheetah. We have some if blocks in the
>> templates. Of course, I'd rather start using Genshi's text templates
>> in the future :)
> yes but TG 1.x will still need to depend on this and I'm not sure if
> it will be a good idea to trade Cheetah for genshi, and having to
> require both genshi and kid just doesn't seems right.

If someone can suggest a templating language that is really small and 
general (i.e., conditionals, loops, and arbitrary expressions like 
repr()) then I would be quite happy to include that directly in Paste 
Script.  Maybe there's something in the Python Cookbook; I should 
probably check.  The requirements here are much different from other 
situations; I don't think there's a lot to be won by keeping the same 
templating language as for other situations.  The only problem with 
Cheetah is the installation problems.

>> I think we'll just need to be sure we're using that option for the
>> arbitrary engine. TG already lists Cheetah as a requirement.
>>
> yes but we did that because it was started to be use in the
> pastescript templates. other then that I think there is no other place
> where Cheetah is used.

That's ultimately what will be required by Paste Script -- if you use 
Cheetah for your project creation templates, your project needs to 
require Cheetah.  So you just predicted what Paste Script would 
ultimately do ;)

-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

--~--~---------~--~----~------------~-------~--~----~
 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