Thanks Thomas,

This is it! Thanks!
 I already had done it the hard way (by commenting the lines in the numpy modules were the __doc__ addition was used. Actually there were only six or seven lines in three different modules to modify. No that hard...).

The exe works now fine but requires to be compiled with option 'bundle_files': 3. With 'bundle files':1 I get the exe without any additional problem but then, it produces a windows error when executed. No more clues, it just hangs and produces the  Windows system error reporting window...

Just in case someone can give me advice on using "bundle:1", I attach below the test script and the updated that works

Thanks again!

Im using py2exe vs 0.6.8, matplotlib 0.98.1 and numpy 1.1. Python is active python 2.5.2.
Test Script:
from pylab import plot, show

if __name__=='__main__':
from distutils.core import setup
import py2exe
import glob

import matplotlib

             'py2exe': {
                        'packages' : ['matplotlib', 'pytz'],
                        'excludes': ['_gtkagg', '_agg2', '_cairo', '_cocoaagg',
                                     '_fltkagg', '_gtk', '_gtkcairo', ],
                        'dll_excludes': ['libgdk_pixbuf-2.0-0.dll',
                        'compressed': 1,
                        'bundle_files': 3    #it crashes with 1   
    zipfile = None,
    data_files = [(r'mpl-data', glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\*.*')),
                  (r'mpl-data', [r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\matplotlibrc']),

¿Quieres los emoticonos y guiños más divertidos? Descárgate Internet Explorer 7, y consigue contenidos exclusivos cada semana. ¡Gratis! ¿Quieres los emoticonos y guiños más divertidos?