[Pythonmac-SIG] py2app unable to find cprocessors.so

Chris Barker chris.barker at noaa.gov
Thu Sep 13 18:39:27 CEST 2012


On Thu, Sep 13, 2012 at 1:53 AM, Ronald Oussoren <ronaldoussoren at mac.com> wrote:

> Yea exactly, I have some smaller apps which are used for specific separate
> jobs (one has a simple gui and generates and gathers log files from the main
> app and zips them up should the main app ever fail to open for instance),
> the jobs are all to do with the main app and all use a sub set of code to
> the main app, so I put the apps in the Resources folder and symlink the lib
> folder so I can include them with only using a little extra disk space, but
> more importantly keeping the installer size down.
>

> That sounds like something that would be useful to support directly. I'll
> add it to the list of nice-to-have featuers, but don't know when I'll get
> around to looking into this.

That does sound cool  -- What do you have in mind exactly? One thing
I"d like to be able to do is use py2app to build a "Framework" (not
sure if it would be a real OS-X framework" that would contain all the
non-app-specific stuff, essentially a custom Python install, that I
could then use for a number of small apps. For instance, a number of
my apps use wxPython, numpy, scipy, matpotlib...

These are pretty darn huge packages. So If I have a three or four
small apps that ll use these, it would be great to have one bundle
that they share.

I'm imagining a multi-app kind of thing, you'd specify in setup.py the
handful of apps you want to build, py2app would see what the shared
dependencies were,a and build a bundle of those, then put the app
specific stuff in each individual app bundle. So you'd get one small
.app for each application, plus one bundle (of some form) that they
all depended on.

Similarly you could put the superset of everything that ll the apps
need in teh master bundle, and the individual apps would be tiny
stubbs.

Call it an app_collection, maybe?

Not that I'm volunteering to write it....

-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

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list