Hello

I have been thinking about this

We could take out this dependancy implementing a wrapper to paster
that will take in files and put then into a variable pretty much what
#include does in cheetah. now is this effort worth it?

now the other thing will be to provide diferent templates that all
extend from a base (a bigger base then the current quickstart)

that will add their own files. Currently this is the list of files
that will have to be implemented as separate templates

[EMAIL PROTECTED] ~/python/tg/svn/turbogears/qstemplates/quickstart $
grep -r \#if * --exclude="*.svn*"
+package+/controllers.py_tmpl:#if $identity != "none"
+package+/controllers.py_tmpl:#if $identity != "none"
+package+/controllers.py_tmpl:#if $identity != "none"
+package+/json.py_tmpl:#if $identity == "sqlobject"
+package+/config/app.cfg_tmpl:#if $identity != 'none'
+package+/config/app.cfg_tmpl:#if $identity == "sqlobject"
+package+/config/app.cfg_tmpl:#if $identity=='sqlobject'
+package+/config/app.cfg_tmpl:#if $identity=='sqlobject'
+package+/model.py_tmpl:#if $identity != "none"
+package+/model.py_tmpl:#if $sqlalchemy != "True"
+package+/model.py_tmpl:#if $identity != "none"
+package+/model.py_tmpl:#if $sqlalchemy != "True"
+package+/model.py_tmpl:#if $sqlalchemy!="True"
+package+/model.py_tmpl:#if $identity=="sqlobject"
dev.cfg_tmpl:#if $sqlalchemy == "True"
sample-prod.cfg_tmpl:#if $sqlalchemy == "True"
setup.py_tmpl:#if $identity == "sqlalchemy"

so this could be split into 3-4 templates that depend on each other

do we really need to support cheetah just for this?
is there a better way then paste?
how about adding suport for genshi text templates?

what do you guys think?

by the way is there a reason why tg commands don't extend paste.

[EMAIL PROTECTED] ~/python/tg/svn $ grep -r "[from|import] paste*" *
turbogears/.svn/text-base/startup.py.svn-base:                from
paste.evalexception.middleware import EvalException
turbogears/command/.svn/text-base/quickstart.py.svn-base:from
paste.script import templates, create_distro
turbogears/command/.svn/text-base/quickstart.py.svn-base:
from paste.script.copydir import query_interactive
turbogears/command/quickstart.py:from paste.script import templates,
create_distro
turbogears/command/quickstart.py:            from paste.script.copydir
import query_interactive
Binary file turbogears/command/.quickstart.py.swo matches
Binary file turbogears/command/.quickstart.py.swp matches
turbogears/startup.py:                from
paste.evalexception.middleware import EvalException

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

Reply via email to