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
I succeeded :)))
And the winner is:
from distutils.core import setup
import py2exe
opts = {
"py2exe": {
"includes": ["pango", "atk", "gobject", "gtk","gtk.glade"],
"dll_excludes": ["
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
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
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:
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.
--