David,
Have you tried :
- http://groups.google.com/group/wxpython-users/browse_thread/thread/d448a42abdae3e69/318cc65f2b54348f?#318cc65f2b54348f
- http://groups.google.com/group/wxpython-users/browse_thread/thread/786c36eec08bd321/5a35b68addbbd739?lnk=gst&q=listenerimpl#
- http://groups.google.com/group/pypubsub/browse_thread/thread/98e038447af8dc0b/d59f038f0bfc1460?hl=en&q=pubsub+py2exe#d59f038f0bfc1460 (though this is only if you are using the standalone version of pubsub, which you download from http://www.sf.net/projects/pubsub).
If this still doesn’t work, try taking one of the py2exe examples for wxpython and adding the import pubsub in it and redo the py2exe. I recommend you try using the from pubsub import setupkwargs and see what happens with that.
Let us know what you find.
Oliver
(main developer of pubsub)
···
On Sat, Jul 16, 2011 at 1:29 PM, David LePage dwlepage@yahoo.com wrote:
I’ve tried to get a simple program to compile into an executable using py2exe.
The program is very basic to show my problem.
No matter what I do, I can’t get the program to compile to support either v1 or
v3 pubsub (i’ll convert code to either if I can something to run).
I’ve attached the program and setup.py here - can anyone see what i’m doing
wrong?
When I run the programs import statements in the interpreter, I get:
E:\pythonTest>c:\Python27\python.exe
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win
32
Type “help”, “copyright”, “credits” or “license” for more information.
from wx.lib.pubsub import setupv1
from wx.lib.pubsub import pub
print pub.VERSION_STR
1.1.200904.r159
^Z
WX version is:
import wx
print wx.version()
2.8.12.0 (msw-unicode)
No matter what I try, I can’t run the executable. I’ve followed all of the other
threads and spent a couple days trying to figure this out to no avail. Before I
downgrade wxpython and python (which i’d rather not do), can anyone point me in
the right direction?
thanks!
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en