Hi Andrew,

Andrew Straw wrote:
> Dear Werner,
>
> This seems to be an unintended side-effect of reorganizing the mpl 
> data file location that I did prior to this release. (I.e. it's not 
> your code that broke, I think it's mpl.) Unfortunately, since I didn't 
> (and still don't) use py2exe, it will be hard for me to fix this. Can 
> you send a patch that gets py2exe working again?
The work around I did is using glob.glob instead as follows:

# matplotlib data
##mpdir, mpfiles = matplotlib.get_py2exe_datafiles()
mpfiles = glob.glob('C:\Python25\lib\site-packages\matplotlib\mpl-data\*.*')

But I can't confirm yet that this works as I am also trying out 
something else in my InnoSetup script.  Will confirm ASAP and will try 
and look into matplotlib.get_py2exe_datafiles() and see how it could be 
fixed.

Best regards
Werner

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to