Allow TAL to be used without Zope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Low
|
Unassigned |
Bug Description
I am working on adding template support to HappyDoc 3.x (http://
I have been able to build my own expression engine fashioned after the one in TALES.py. This has allowed me to get away with distributing on the TAL package and a few supporting modules copied from the PageTemplate package.
I did need to make one small change to TALInterpreter.py in order to avoid a dependency on the DocumentTemplate package (see below). It would be nice if this was included in future releases, so I can keep up to date without having to maintain a modified code tree.
Thanks,
Doug
diff /home/dhellmann
25,28c25
< if sys.modules.
< from DocumentTemplat
< else:
< from ustr import ustr
---
> from DocumentTemplat
Today TAL can be used either by using SimpleTAL, Chameleon or zope.tal and a couple of Zope libraries.