Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > How can I bundle a PyGTK program in windows so my users don't need toinstall Python or the GTK+ libs?

Reply
Thread Tools

How can I bundle a PyGTK program in windows so my users don't need toinstall Python or the GTK+ libs?

 
 
Waspinator
Guest
Posts: n/a
 
      08-16-2010
I found this question on http://faq.pygtk.org/index.py?file=f...5.htp&req=show
but the answer did not help me.

For example I have a simple program below that I would like to
'compile' with py2exe (or anything else if it's simpler) to run in
windows as a single bundled executable file with no installation (no
INNO setup), and no requirements for gtk or python installations. I
doesn't matter if the .exe file is 30 MB to only display a hello world
app, as long as it works. (although the smaller the better)

The application already works in my windows test environment because I
have installed python 2.6 with pygtk and a gtk bundle.

Can someone please provide some simple and clear instructions on how I
can do this?

Thanks,

Waspinator

simple.py
-------------------------------------------------------------------
import gtk

window = gtk.Window()
window.set_title("PyGTK Test Window")
window.connect("destroy", gtk.main_quit)
window.show_all()

gtk.main()
-------------------------------------------------------------------
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: AMD QUAD CORE Phenom bundle (Maplins bundle) won't let me installWinXP! Tony Computer Support 1 05-05-2009 08:47 PM
Re: AMD QUAD CORE Phenom bundle (Maplins bundle) won't let me install WinXP! Centre Parting Computer Support 0 05-05-2009 05:58 PM
Re: AMD QUAD CORE Phenom bundle (Maplins bundle) won't let me install WinXP! VanguardLH Computer Support 0 05-05-2009 04:52 PM
Re: AMD QUAD CORE Phenom bundle (Maplins bundle) won't let me install WinXP! Buffalo Computer Support 0 05-05-2009 04:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57