On Feb 5, 2008 4:41 PM, Jorge Godoy <[EMAIL PROTECTED]> wrote: > > Em Tuesday 05 February 2008 17:12:24 Lukasz Szybalski escreveu: > > > > By entry point do you just mean a link or you actually importing each app? > > How would the controller look for that? > > No. I really mean entry point. Take a look at setuptools. The code is the > same that TG uses to find new components -- e.g. widgets, commands to > tg-admin, etc. -- and we can also benefit of this tool on our applications. > > > Is master app the only one you are setting up as far as apache is > > concerened? > > Yes. > > > I don't see how you combine all apps in master since you either have > > to have them installed in python path (then import > > my3rdapp.controller), or if you use wsgi then you would have to set > > the path to each app? > > I use entry points to automatically import them on the master application. > After that, then it is just a matter of importing things, like in modules. > The difference is that it is all done automatically by setuptools. >
I read over the website but I don't see how you can do that. Could you show me some sample code on how does your master app looks like. Lucas > http://peak.telecommunity.com/DevCenter/setuptools > http://peak.telecommunity.com/DevCenter/setuptools#dynamic-discovery-of-services-and-plugins > > > -- > Jorge Godoy <[EMAIL PROTECTED]> > > > > > > -- Vehicle Information Number. Check for Authentic VIN http://lucasmanual.com/vin TurboGears from start to finish: http://www.lucasmanual.com/mywiki/TurboGears --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

