> IC. Are these libraries standard libs on every OS X system?

For me, except for PySide and gdcm, I would imagine that every other
OS X developer has them, which is why the assumption to exclude
everything in /usr/lib and /usr/local/lib has worked so far.

> Did you try a hook which adds the pyside/gdmc files fro /usr/local/lib,
> /usr/lib as `data` files to the pyinstaller archive? Something like:

This may work.  Hardcoding the required files does copy them over, but
there are some things to consider
 * This is only required on OS X, ie both PySide and gdcm work on
Windows w/o hooks
 * The libraries have names like /usr/lib/libpyside-
python2.6.1.0.2.dylib, usr/lib/libpyside-python2.6.1.0.dylib, /usr/lib/
libpyside-python2.6.dylib, of which 2 are simlinked to the 3rd.  That
and because there may be version differences (eg 2.6 vs 2.7), we can't
hardcode it
 * Even if we knew which version of the software, we don't know which
version of the dylib is actually needed, so otool is still the command
to call to determine which one to copy over.
 * If we're going to use otool anyway, it seems like too much of an
overhead to do the same thing in the hook, except to exclude/include
different things than what's happening in bindepend.py

Cheers
Mike

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" 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/pyinstaller?hl=en.

Reply via email to