On 11/2/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Jorge Vargas wrote:
> > hi
> >
> > I have started using the Templates and went I subclass my file I got
> > stuck at the meaning of egg_plugins, and the comment at
> > http://pythonpaste.org/script/paste/script/templates.py.html isn't
> > very helpful.
> >
> > is this the egg this pluging belongs too or the egg that should be
> > created? can I omit it?
> >
> > any enlightment?
>
> The paster command can be locally customized for a project.  For
> instance, in Pylons you can run "paster controller controller_name".
> But that only applies to Pylons projects, not other kinds of projects.
> So Pylons is listed in .egg-info/paster_plugins.txt, and paster then
> knows to add its local commands.
>
> Usually you can add the egg the plugin belongs to, and if it doesn't
> have any local commands then it's just ignored (but if you later add
> local commands they'll show up in previously-created projects).  Or you
> can ignore it, either way.
>
ok so the base turbogears template has egg_plugins = ["TurboGears"]
this means that all other templates that inherit it should not define
anything so all belong to the same "set of templates".

now if I define some set of templates that don't inherit that base
template but still belong to TG should have that line so paste will be
aware that all of them belong to turbogears.

did I got that right?

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

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to