On Tue, Jul 19, 2011 at 4:36 PM, Martin Zibricky <[email protected]> wrote: > Bram Mariën píše v Út 19. 07. 2011 v 15:48 +0200: >> >> My setup : Intel Mac x64, running OSX 10.6.8. Python 2.7 with Qt >> 4.7.2 and PyQt 4.8.3, all installed in the default /Library structure. > > How did you install python 2.7 and PyQt? Did you compile it yourself? As > far as I know there are no available prebuilt binaries for Mac OS X.
Yes, I compiled it myself, and works without any problem when launching python scripts from the terminal. > >> * Using trunk >> -------------------- >> >> Downloaded the repo yesterday afternoon. >> I reuse the same spec file. > > Please recreate the spec file. In svn it was slightly changed. And try > it please again with the svn version. > > I've downloaded the svn version this morning 8am CET. I've recreated the spec file, using "python utils/Makespec.py ../path/to/myscript.py That created a spec file, to which I added the app-stuff found on http://www.pyinstaller.org/wiki/MacOsCompatibility Then I called the pyinstaller.py with the /path/to/spec as a parameter. This creates a dist folder in my code folder, in which I find an app, with size 664KB, and a folder containing a lot of so files (like PyQt4.QtGui.so). It also generates a warning file in the build folder, and has 39 lines in it like : W: no module named PyQt4._qt (top-level import by PyQt4) W: no module named PyQt4._qt (top-level import by PyQt4.QtCore) W: __all__ is built strangely at line 0 - collections (/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.pyc) W: delayed exec statement detected at line 0 - collections (/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.pyc) Any more clues? B -- 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.
