Re: [Repoze-dev] using bfg app as wsgi callable in other frameworks?

2009-08-28 Thread Chris McDonough
On 8/28/09 2:24 PM, Iain Duncan wrote: > On Fri, 2009-08-28 at 14:07 -0400, Chris McDonough wrote: >> Hi Iain, >> >> Use an ini file setting in your bfg app's paste.ini section like: >> >> configure_zcml = /path/to/configure.zcml > > Would this also work if put in a pylons ini file? Or do you know

Re: [Repoze-dev] using bfg app as wsgi callable in other frameworks?

2009-08-28 Thread Iain Duncan
On Fri, 2009-08-28 at 14:07 -0400, Chris McDonough wrote: > Hi Iain, > > Use an ini file setting in your bfg app's paste.ini section like: > > configure_zcml = /path/to/configure.zcml Would this also work if put in a pylons ini file? Or do you know what else one would need to do to make it work?

Re: [Repoze-dev] using bfg app as wsgi callable in other frameworks?

2009-08-28 Thread Chris McDonough
Hi Iain, Use an ini file setting in your bfg app's paste.ini section like: configure_zcml = /path/to/configure.zcml This can also be controlled with an environment variable. See http://docs.repoze.org/bfg/current/narr/environment.html#environment-chapter for more information about the "conf

Re: [Repoze-dev] using bfg app as wsgi callable in other frameworks?

2009-08-28 Thread Iain Duncan
On Fri, 2009-08-28 at 13:43 -0400, Chris McDonough wrote: > The bfg "repoze.bfg.router.make_app", used by most application paster entry > point functions, returns a Router object. This is just a fancy WSGI > application. Call make_app from within Pylons to get a WSGI app, serve that > WSGI app

Re: [Repoze-dev] using bfg app as wsgi callable in other frameworks?

2009-08-28 Thread Chris McDonough
The bfg "repoze.bfg.router.make_app", used by most application paster entry point functions, returns a Router object. This is just a fancy WSGI application. Call make_app from within Pylons to get a WSGI app, serve that WSGI app via some Pylons controller. Other than that, with respect to app

[Repoze-dev] using bfg app as wsgi callable in other frameworks?

2009-08-28 Thread Iain Duncan
( apologies if this is a duplicate, it doesn't seem to have made it to me through the list so resending ) Hi folks, I have a bfg app that makes a crud controller, where objects from the model package get attached through configure.zcml. This achieves my purpose of having the application completely