Hi all,

Below is the patch file (everything in between the starred lines) to
get the Python bindings for GDCM (http://sourceforge.net/apps/
mediawiki/gdcm/index.php) to work with PyInstaller.  In this case, I
added '/usr/local/lib' to the fwpaths, which is used to determine
whether the results from otool should be included.

In this case, I believe that /usr/local/lib is a common install
location for 3rd party applications and libraries on the mac, so
should be included.

Cheers
Mike


********************************
Index: PyInstaller/bindepend.py
===================================================================
--- PyInstaller/bindepend.py    (revision 1406)
+++ PyInstaller/bindepend.py    (working copy)
@@ -462,7 +462,7 @@
         This implementation is for otool platforms"""
     # dyld searches these paths for framework libs
     # we ignore DYLD_FALLBACK_LIBRARY_PATH for now (man dyld)
-    fwpaths = ['/Library/Frameworks', '/Network/Library/Frameworks',
'/System/Library/Frameworks']
+    fwpaths = ['/Library/Frameworks', '/Network/Library/Frameworks',
'/System/Library/Frameworks', '/usr/local/lib']
     for p in reversed(os.environ.get('DYLD_FRAMEWORK_PATH',
'').split(':')):
         if p:
             fwpaths.insert(0, p)
********************************

-- 
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