hey mike any success with this? I understand some of your reply and it looks promising. Will the frozen app to run on linux and solaris?
thanks toby On 16 Aug, 05:16, "Mike Orr" <[EMAIL PROTECTED]> wrote: > On Fri, Aug 15, 2008 at 3:09 AM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > > Hello Everybody, > > > I'll start by saying what a great piece of work Plyons is. I have used > > many frameworks and i applaud the simplicity and power of Plyons. > > > I would like to use Pylons to write an software installer with a web > > gui. > > For this to work i need to be able to freeze pylons into binary > > executable. At the moment it needs to work on solaris and linux. > > > I have successfully frozen a simple webserver and html form as a proof > > of concept. I used pyInstaller, which seemed to work well. > > > I have two questions, has anyone had success in freezing pylons? > > We're testing it right now. I'm cc'ing my colleague who's involved > more directly with it. So far we've got a Quixote application running > in a wxPython window, using embedded IE on Windows and Safari on Mac. > It's frozen using py2exe on Windows and py2app on Mac. The GUI > program launches the web app in a thread, and it listens on a high > port on the localhost. We hired Robin Dunn, wxPython's maintainer, to > do the port and make any necessary changes to wxPython to get it to > run. Now we've ported the web application to Pylons and are going to > try embedding it in wx and freezing it next week. So I'll have more > information soon. > > There doesn't appear to be any threading issues, since neither > PasteHTTPServer nor Pylons care if they're the main thread or not. > There may be some file issues accessing Mako templates in a zipped > executable unless we can convince py2exe/py2app to leave them as > separate data files files and not change their relative paths. > Apparently they do this with C libraries and our Durus database, so > it's just a matter of getting them to do it with Mako. The other > issue is storing session/template caches on disk if Windows won't let > you write to the program directory. We're planning to disable the > Mako cache and use memory sessions (which I assume Beaker supports) > to get around those. Our target users have really locked down > computers so the fewer resources the application requires, the easier > to get it approved for installation. > > The next version of wxPython will embed Webkit/KHTML rather than > platform-specific browsers, but the code was not stable enough to be > ready for our release date. Maybe in next year's upgrade. > > -- > Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
