Hi,

First, the link given for cx_Freeze is an old one. You should use this
one instead:

http://cx-freeze.sourceforge.net

Second, the no requirement for a Python installation is a given.
Depending on where you have installed your gtk installation that will
likely come along for the ride automatically as well. From the link
you provided it is possible that you may have to use a few
include_files directives in order to include extra files that the gtk
installation will expect to find. Since you are asking about Windows
it might be a while before I find the time to test it out on there --
I do not run Windows at home, only at work, and my time is limited at
work. Take a look at the samples already provided and the
documentation and see if you can figure it out on your own -- if you
run into any difficulties feel free to ask and I'll attempt to answer
any questions you might have.

Anthony

On Mon, Aug 16, 2010 at 7:47 PM, Patrick Wasp <patrickw...@gmail.com> wrote:
> I found this question on
> http://faq.pygtk.org/index.py?file=faq21.005.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 cx_freeze (or anything else if it's simpler) to run in windows as a
> single bundled executable folder with no installation (no setup), and no
> requirements for gtk or python installations. I doesn't matter if the folder
> is 30 MB to only display a hello world app, as long as it works. (although
> the smaller the better)
>
> The application 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
>
> simple.py
>
> import gtk
> window = gtk.Window()
> window.set_title("PyGTK Test Window")
> window.connect("destroy", gtk.main_quit)
> window.show_all()
> gtk.main()
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to