On 2/27/07, Joshua J. Kugler <[EMAIL PROTECTED]> wrote:
>
> On Tuesday 27 February 2007 12:46, Chris Dew wrote:
> > I'm new to Python and TurboGears.  I haven't been able to find the
> > answer to my question by Googling, possibly because "gzip" is
> > everywhere on the web.
> >
> > The context of my question is: deploying a TurboGears application onto
> > a system with limited (flash) storage.  I am aware of the various
> > compressed filesystems available, but I'm considering other
> > approaches.
> >
> > Is it possible to deploy a TurboGears application with all/some of
> > it's source .py and .kid files gzipped to save space?
>
> Python itself can import zipped files (zip, not gzip AFAIK).  I've not tried
> zipped kid files.  I *think* it just overloads python's import routines, so
> it might be able to.

I'd doubt that the templates would work, but the sources would. It's a
non-trivial amount of effort though.

You're probably prematurely optimizing though. Is it work that much
effort to save (if you're REALLY lucky) about 1MB?

-bob

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to