Hello,
I've been using matplotlib 0.87 and I upgraded to 0.91. I ran my setup script
for py2exe which had been working flawlessly and now I get an error stating
that the .../mpl-data/fonts is not a regular file or doesn't exist. I checked
the filename path and it does actually exist. I'm using the matplotlib function
get_py2exe_datafiles() to get the matplotlib data files. how might I correct
this issue (I pasted a small sample code below)? thanks.
Jeff
# arguments for the setup() call
app = dict(
script = "App.py",
other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="App"))],
icon_resources = [(1,'Figures/my_icon.ico')]
)
packages = ['numpy',
'matplotlib',
'pytz']
excludes = [
'_gtkagg',
'_tkagg',
'tcl',
'Tkconstants',
'Tkinter',
'tcl',
'pywin.debugger',
'pywin.debugger.dbgcon',
'pywin.dialogs',
'bsddb',
'curses',
'email',
'distutil',
'logging',
'readline',
'setuptools']
dll_excludes = [
'libgdk_pixbuf-2.0-0.dll',
'libgobject-2.0-0.dll',
'libgdk-win32-2.0-0.dll']
Options = {"py2exe": {"skip_archive" : 1,
"packages" : packages,
"excludes" : excludes,
"dll_excludes" : dll_excludes}}
## MATPLOTLIB DATA
data_Files=[(".",
["matplotlibrc", "config.txt", "user_agreement.rtf", "main.css"]),
("Figures",glob.glob("Figures\\*")),
("Documents",glob.glob("Documents\\*")),
("images",glob.glob("images\\*")),
matplotlib.get_py2exe_datafiles()]
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users