Hi:
I try to use py2exe 0.5.0 to build an executable with the following code:
----------------------------------------------------------------------------
------------------------
import gtk
def hello_cb(button):
print "Hello World"
window.destroy()
window = gtk.Window(gtk.WINDOW_TOPLEVEL) # create a top level window
window.connect("destroy", gtk.mainquit) # quit the event loop on
destruction
window.set_border_width(10) # set padding round child widget
button = gtk.Button("Hello World")
button.connect("clicked", hello_cb) # call hello_cb when clicked
window.add(button) # add button to window
button.show() # show button
window.show()
gtk.main()
----------------------------------------------------------------------------
---------------------------
And I get an error:
......
The following modules appear to be missing
['gdk', 'ltihooks']
The releases I installed are pygtk-2.0.0 and GTK-2.2.0.
Is this a problem to py2exe, or is it caused by some lost modules as it
states?
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/