Hi Cliff,

You need to define the entry point in your setup.py (as listed on that
doc page). Something like:

entry_points="""
    [turbogears.view.engine]
    stan = yourpackage.yourmodule:StanTemplateClass
    """,

Once you've done that, you can run
python setup.py develop

to "install" the egg on your system in development mode. Once you've
done that, TurboGears should spot your plugin.

Kevin

On 12/31/05, Cliff Wells <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Following the directions at
> http://www.turbogears.org/docs/plugins/template.html, I've created a
> Stan engine.  I've tested it by calling it directly from my controller,
> but I'm a little hazy on the last step, which is getting TG to recognize
> my Stan templates automatically.  Any suggestions?  It isn't clear to me
> how the setup.py tells TG about my engine.
>
> Regards,
> Cliff
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to