There seems to be a bug with using py2exe to package up a PyGTK
application. I get the following error when running the .exe that py2exe
Traceback (most recent call last):
File "helloworld.py", line 2, in ?
File "pygtk.pyc", line 73, in require
AssertionError: required version '2.0' not found on system
It seems to me that the problem might come with the modification of
'sys.path' that pygtk.py try to do.
I have attached a minimal example. You'll need to strip off the .txt
extensions on the filenames.
'helloworld.py' runs fine as is, but if you try to package it with
py2exe and the 'setup.py' script, you get the error above.
Would very much appreciate any suggestions. We're currently trying to
build a windows installer for the ASCEND modelling package and we want
to be able to cut down on the large list of dependencies.
School of Mechanical and Manufacturing Engineering
The University of New South Wales
Sydney NSW 2052 Australia
t +61 2 9385 5127
f +61 2 9663 1222