Does PyInstaller correctly create a bundle? Does it look like a bundle
from finder? If so, does the error appears even if you click on the
bundle from the finder? And what if you run the bundle using "open
bundlename.app"?
"pythonw" is nothing more than a stub script that executes the
bundle-version of Python from within the bundle, so that Mac OSX
activate GUI support. By creating a bundle with PyInstaller, you should
achieve the same effect and thus it should work.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
which is unsurprising, given that that option was added specifically to
remove the double icon.
This is not an acceptable fix for the wxPython issue. Somebody who cares
about this library on Mac should dig more into the code (involving maybe
also the wxPython mailing list) to figure it out how to shut down the
warning.
PyInstaller runs two processes: the first one unpacks the executable,
and then spawns the second, which is the actual program. The first one
needs to stay in background and wait, to clean up the temporary files
even if the second process ends abruptly.
Under Mac OSX, the solution of using LSBackgroundOnly on the first
process works very well with PyQt. I don't know why wxPython complains;
my understanding is that it is over-zealous: it does a check which is
not strictly required. Can you confirm that, if you comment that code
out in wxPython source code, the application works correctly?
If so, we need to raise the discussion with wxPython developers. Notice
that, whatever is the result of that dicussion, we can still workaround
the problem through a runtime hook within PyInstaller.