Re: Freezing a Pylons app

2008-10-10 Thread Wichert Akkerman
Previously Christopher Barker wrote: So, is there a way to turn off the use of pkg_resources in paste? No, paste relies on it to handle entry points in various places. That is a very popular pattern that more and more things are starting to use. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]

Re: Freezing a Pylons app

2008-10-10 Thread Christopher Barker
Wichert Akkerman wrote: Previously Christopher Barker wrote: So, is there a way to turn off the use of pkg_resources in paste? No, paste relies on it to handle entry points in various places. Darn. That is a very popular pattern that more and more things are starting to use. Well, I can

Beaker info

2008-10-10 Thread Wichert Akkerman
Beaker seems to be very little documentation online, so hopefully someone can help me out here. I am looking at caching the results of things like expensive function calls and database queries, and beaker seems to be usable as a caching system. What I can't seem to find is how to conveniently

list test -- ignore

2008-10-10 Thread Christopher Barker
Sorry about this, but google groups can be a pain -- somehow it subscribed me at my gmail address even though I didn't ask for that. I think I fixed, but I wanted to test. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206)

Re: Freezing a Pylons app

2008-10-10 Thread Mike Orr
On Thu, Oct 9, 2008 at 11:23 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Christopher Barker wrote: So, is there a way to turn off the use of pkg_resources in paste? No, paste relies on it to handle entry points in various places. That is a very popular pattern that more and

Re: Freezing a Pylons app

2008-10-10 Thread Wichert Akkerman
Previously Mike Orr wrote: On Thu, Oct 9, 2008 at 11:23 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Christopher Barker wrote: So, is there a way to turn off the use of pkg_resources in paste? No, paste relies on it to handle entry points in various places. That is a

Re: virtualenv, bb-freeze and pylons on osx

2008-10-10 Thread Christopher Barker
Jose Galvez wrote: Just to give everyone an update, bbfreeze now does support osx, at least to some degree if you install from the dev tip. Do you have any notes or references about it? I can't see it mentioned anywhere. However, I've downloaded that latest from Hg, and am giving it a try.

Re: Freezing a Pylons app

2008-10-10 Thread Mike Orr
On Fri, Oct 10, 2008 at 2:14 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: What exactly are 'the setuptools problems'? Entry points and namespaces are very practical and I wouldn't want to loose them. All the installation and index-handling logic in setuptools is probably best replaced.

Re: Freezing a Pylons app

2008-10-10 Thread Mike Orr
Here's the code to run a Pylons app without using entry points or Setuptools. It works from the command line, so now we're going to test it with py2app and the GUI (wxPython). === Run the standalone on the console similar to paster serve. This version imports the server and application rather

Re: Dynamic Template Inclusion in Genshi

2008-10-10 Thread jerry
Hi EricHolmberg, Thank you very much for the tip. On Genshi group, kindy offered a similar, but somewhat more concise, solution (http://groups.google.com/group/genshi/msg/c47bca2e4b0fd996), which I adopted as -- Pylons controller WidgetController(BaseController): def index(self, id):