I am switching from py2app to PyInstaller on OS X. I have a small problem 
for which I have a workaround but where I’d like to figure out the right 
way to do things. 

When building with the pyinstaller command I get a handful of error 
statements involving one specific dylib, like this:

78640 ERROR: Can not find path ./libwx_osx_cocoau-3.0.0.0.0.dylib (needed 
by 
/Users/tom/anaconda/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_aui.so) 


It’s only this one wxPython dylib that isn’t found, and I can get the app 
to run by copying the dylib into the app (the actual copy command is 
below).  I’m wondering if there’s a proper way to do this though, so that 
pyinstaller can find the file. 

I’m building this from an Anaconda distribution on OS X 10.9.5 (conda 
version 3.7.3), and using PyInstaller 2.1. Although I have PyInstaller 
installed into conda via pip, I’m not using that (it didn’t work with 
reportlab due to a missing hook file), but am directly using the latest 
version I just downloaded from GitHub, which I run from the file 
pyi_main.sh which looks like: 

python ../../build/pyinstaller/pyinstaller.py main.py \ 
    --noconfirm \ 
    --windowed \ 
    --path=/Users/tom/anaconda/lib/

cp /Users/tom/anaconda/lib/libwx_osx_cocoau-3.0.0.0.0.dylib 
./dist/main.app/Contents/MacOS/ 
cp /Users/tom/anaconda/lib/libwx_osx_cocoau-3.0.0.0.0.dylib ./dist/main 

Is there a way to find and include this library directly?

Overall, though, I’ve found PyInstaller to be a great tool, and I happy 
that it’s now running on OS X. Thanks to everyone involved in this for 
their fantastic efforts!


-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To post to this group, send email to pyinstaller@googlegroups.com.
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to