Hi, I'm trying to create an app of a really simple python script on Mac. I must be doing something extremely newbie, but I just tried to follow the docs...
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. The script : http://pastebin.com/pJ5iMMKC Script works fine when running from terminal. * Using pyInstaller 1.5 --------------------------------- I've created a spec file using Makespec.py with the --onefile parameter. I add the app-info, so I have : http://pastebin.com/CZKb2WKK I then run Build.py with the spec file as its parameter, which ends with checking EXE rebuilding outEXE2.toc because test_py2app missing building EXE from outEXE2.toc Appending archive to EXE ../bma/test_py2app/dist/test_py2app checking BUNDLE building because outBUNDLE4.toc missing or bad building BUNDLE outBUNDLE4.toc It also generates a warning file with 37 warnings : http://pastebin.com/dJPZhsFF When I double click the generated app, it crashes with the report : http://pastebin.com/MxpUjjnU (a lot more lines following, could provide it if desired). * Using trunk -------------------- Downloaded the repo yesterday afternoon. I reuse the same spec file. If I call python pyinstaller.py with the spec as it's param, it fails at : Traceback (most recent call last): File "pyinstaller.py", line 86, in <module> run_build(opts, spec_file) File "pyinstaller.py", line 50, in run_build PyInstaller.build.main(spec_file, **opts.__dict__) File "/Users/development/projects/pyInstaller-trunk/PyInstaller/build.py", line 1542, in main build(specfile, buildpath) File "/Users/development/projects/pyInstaller-trunk/PyInstaller/build.py", line 1438, in build execfile(spec) File "../bma/test_py2app/test_py2app.spec", line 3, in <module> pathex=['/Users/development/projects/pyinstaller-1.5']) File "/Users/development/projects/pyInstaller-trunk/PyInstaller/build.py", line 332, in __init__ raise ValueError("script '%s' not found" % script) ValueError: script '/Users/development/projects/pyInstaller-trunk/support/useUnicode.py' not found (the file 'useUnicode is nowhere to be found). If I call python utils/Build.py with the spec file, I get the same error as above. Like I said, I think I must 've forgot something extremely obvious, but can't figure out what exactly... Any form of information is more than welcomed! Thanks in advance, Bram -- 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.
