On Thu, Oct 9, 2008 at 2:59 PM, Sam G <[EMAIL PROTECTED]> wrote: > > Would the zipimport thing help at all? > you will have to try that. As far as I know no one has do it (at least done it and release it) if I recall correctly the use of __file__ is what makes it a problem.
I think the best approach right now is "cleaning" the install. The biggest issue is that setuptools is "file hungry" that is it creates about 6-7 files per egg, and since TG uses a lot of them that's about 300 files that are useless in a GAE deployment environment. So creating a script that will delete all the cruft is ideal, in fact if I where to try this I'll write it as a patch to google-app-monkey, so you can have all the goodies of setuptools for development and when it's time to deploy create a stripped down version to load into GAE. Which basically means creating a "tg minimal" library, this was discusses and the points outlined when GAE first came out, in this thread. http://groups.google.com/group/turbogears-trunk/browse_thread/thread/cf04f69063ea5fc8/ > On Sep 29, 11:19 am, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: >> On Mon, Sep 29, 2008 at 9:32 AM, Sam G <[EMAIL PROTECTED]> wrote: >> >> > TurboGears Group, >> >> > I am wondering about the status of any development to make TG work on >> > Google App Engine. Is there anything in the pipeline? Does it work >> > already? >> >> We are pretty much stuck with the 1000 files issue, Which is a show >> stopper for the usual way of turbogears packaging, IE eggs >> >> see:http://code.google.com/appengine/articles/quotas.htmlhttp://code.google.com/p/googleappengine/issues/detail?id=161http://code.google.com/p/googleappengine/issues/detail?id=161#c19 >> >> now as you can see from the last link, there is hope with the new >> zipimport from Guido. But it is still in dippers. >> >> for now the exact same method used to run pylons works, as appengine >> monkey isn't really 100% pylons.http://code.google.com/p/appengine-monkey/in >> fact a wikipage there >> for TG will be nice. >> >> An alternative method will be to strip all non-used files with a big >> ignore regexp at appengine's config file, but as far a I know no one >> has released anything like this. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

