Ian Bicking wrote: >> I'm trying to bundle up a pylons based app with py2app on OS-X. I've run >> into a problem with Paste. The issue is that paste (and paste.deploy, >> and paste.script) is set up as a setuptools namespace package. > > Another strategy might be to use pyinstall, which will install these > packages in a flat filesystem layout, so namespace packages won't really > be important
Well, I essentially tried this by hand, which got me past the namespace packages issue. I had forgotten about pyinstall. > It still puts in .egg-info directories, so > pkg_resources can see all the egg metadata (if you include those > directories in py2app). That's the key issue -- py2app was never designed to use eggs, and it a way, its key design is a bit incompatible with pkg-resources. What it does is extract the modules you need for that app, and only those modules, and re-arranges where they get put. This fundamentally breaks pkg_resources. As discussed elsewhere in this thread, the concept of package discovery is a bit out of sync with delivering a self contained bundle like py2app does. For the moment, we're working on a way to start up the app without using pkg_resources. Thanks for the tip, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [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 -~----------~----~----~----~------~----~------~--~---
