When I make my app (a python terminal app, I want to be able to start from the finder) I get the following error when I try to run it:
mbxa:other noema$ open /Users/noema/Development/git/LasaurApp/other/dist_osx/
lasaurapp.app LSOpenURLsWithRole() failed with error -10810 for the file /Users/noema/Development/git/LasaurApp/other/dist_osx/
lasaurapp.app.
Any ideas where the problem is?
My spec file looks like this:
### build TOC
a = Analysis(['../backend/app.py'],
pathex=[os.path.abspath(__file__)],
hiddenimports=[],
hookspath=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas + resource_files,
name=target_location,
debug=False,
strip=None,
upx=True,
console=True )
app = BUNDLE(exe,
name=target_location + '.app')
Thanks for any hints,