hey im trying to build an exe of my program and i have this as my setup file,
from distutils.core import setup import py2exe from distutils.filelist import findall import os import matplotlib matplotlibdatadir = matplotlib.get_data_path() matplotlibdata = findall(matplotlibdatadir) matplotlibdata_files = [] for f in matplotlibdata: dirname = os.path.join('matplotlibdata', f[len(matplotlibdatadir)+1:]) matplotlibdata_files.append((os.path.split(dirname)[0], [f])) opts = { "py2exe": { "packages" : ['matplotlib', 'pytz'], "includes": [], "excludes": ['_gtkagg', '_tkagg'], "dll_excludes": ['libgdk-win32-2.0-0.dll', 'libgobject-2.0-0.dll'] } } setup( console=['templatewindow.py'], options=opts, data_files=matplotlibdata_files ) The first time i ran this I received an error error: libgdk_pixbuf-2.0-0.dll: No such file or directory so out of curiousity i put this in the dll_excludes 'libgdk_pixbuf-2.0-0.dll' then i received this. error: wxmsw26uh_vc.dll: No such file or directory Has anyone successfully created an exe with matplotlib? I am on windows with the latest mpl, numpy and scipy, and python 2.4 i konw this may be more suited for py2exe mailing list but I thought maybe one of you may be able to help me. ~Kenny ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users