Hi, i try to genrate an app from a wxPython project.
Generation the App runs without an error. But when i try to start the App it terminates. The logs show that import wx doesn't work. What am i missing. Regards Gerhard
import os, sys, glob from setuptools import setup, find_packages APP = ['src/start.py'] DATA_FILES = [('src/resources/fonts', glob.glob('src/resources/fonts/*.*')) ,('src/resources/icons', glob.glob('src/resources/icons/*.png')) ,('src/resources/images', glob.glob('src/resources/images/*.png')) ,('src', glob.glob('src/*.py')) ] OPTIONS = {'plist': dict(CFBundleName = "ACFVereinsverwaltung", CFBundleShortVersionString = "0.0.1", # must be in X.X.X format CFBundleGetInfoString = "ACFVereinsverwaltung 0.0.1", CFBundleExecutable = "Vereinsverwaltung", CFBundleIdentifier = "com.acf.vereinsverwaltung", ) ,'packages': 'wx' ,'site_packages': True } setup(app=APP ,data_files=DATA_FILES ,options={'py2app': OPTIONS} ,setup_requires=['py2app'] )
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG