Re: PyGTK and pyexe

2005-03-21 Thread Tom Cocagne
I remember removing the locales and all of the documentation. Beyond that I can't remember. If your app falls under the common case of running on machines with ample disk space, I wouldn't worry too much about the size. WinZip does a pretty good job of shrinking my distribution file to a managabl

Re: PyGTK and pyexe

2005-03-21 Thread Viktor
I succeeded :))) And the winner is: from distutils.core import setup import py2exe opts = { "py2exe": { "includes": ["pango", "atk", "gobject", "gtk","gtk.glade"], "dll_excludes": ["

Re: PyGTK and pyexe

2005-03-19 Thread Tom Cocagne
H. Well, the way I did it, if I remember correctly (the files are at work), was to run the line "python setup.py py2exe --force --excludes gtk, gobject,pango" and then copied the entire GTK directory into the distribution directory. Just copying the DLLs doesn't suffice since there are other f

Re: PyGTK and pyexe

2005-03-19 Thread Viktor
Nope, it doesn't work... I've tried that and the only thing I got was: ImportError: could not import pango ImportError: could not import pango Traceback (most recent call last): File "test.py", line 5, in ? File "gtk\__init__.pyc", line 113, in ? AttributeError: 'module' object has no attribut

Re: PyGTK and pyexe

2005-03-18 Thread Tom Cocagne
I used the instructions in the PyGTK FAQ and managed to get it working. Take a look at: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.005.htp Cheers, Rakis Viktor wrote: > Did anybody managed to "pack", a program that uses pygtk with pyexe? > > The best result I got was:

PyGTK and pyexe

2005-03-18 Thread Viktor
Did anybody managed to "pack", a program that uses pygtk with pyexe? The best result I got was: Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion faled: (glyphs->num_glyphs > 0) aborting... I'm using python2.4, pygtk-2.6.1-1.win32-py2.4, gtk-win32-2.6.4-rc1. Thanks in advance. --