Yagua Rovi wrote:
> I identify  the problem.
> There is no basemap data directory and the app search those datas in
> [MY_DIR]\dist\library.zip\mpl_toolkits\basemap\data
> 
> But I don't know how to add it at the compilation....

You can add those to "data_files", or you may need to copy them with a 
little custom code at the end of your setup.py file.

-CHB


> 
> 
> 2010/3/22 Friedrich Romstedt <friedrichromst...@gmail.com>:
>> I'm not shure whether the following suggestion solves your problem,
>> but it would simplify your script anyway.
>>
>> import matplotlib
>> ...
>> setup(..., data_files = matplotlib.get_py2exe_datafiles())
>>
>> And maybe don't forget to exclude 'libgdk_pixbuf-2.0-0.dll' (on my
>> system) in 'dll_excludes'.  But I actually don't remember for what
>> reason I had to exclude it.
>>
>> hth,
>> Friedrich
>>
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to