When I created a standalone python application with a command python setup.py py2app, the output package does not start. However, if I build with a hot link python setup.py py2app -A, it works fine.
I used PyQt for my application, maybe this is causing the problem.
Here is my setup.py:
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['teammaker.py']
DATA_FILES = ['ui.py']
OPTIONS = {'argv_emulation': True, 'includes':['sip','PyQt5','PyQt5.QtWidgets']}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
and here is my crash log.
Please help find the problem, thanks!
source
share