On 2/17/11 2:05 AM, Gerhard Schmidt wrote:
Hi,

i try to generate an app from a wxPython project.

Generation the App runs without an error. But when i try to start the
App it terminates.

versions of python (and which binary install), py2app, wxPython, OS-X ?

The logs show that import wx doesn't work.

can you build a really, really simple wx app? (see enclosed)

What am i missing.

I'm not sure, but you do have something extra:

CFBundleIdentifier = "com.acf.vereinsverwaltung",
                         )
          ,'packages':      'wx'

you don't need to specify the wx package -- if there is an "import wx" in your code, py2app will find it.


          ,'site_packages': True

And I don't remember what this does -- try taking it out and see what you get.

-Chris


--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov

Attachment: basicwx.py
Description: application/python

Attachment: setup.py
Description: application/python

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to