Re: [Matplotlib-users] basemap and py2exe

2010-03-23 Thread Christopher Barker
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

Re: [Matplotlib-users] basemap and py2exe

2010-03-23 Thread Yagua Rovi
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

[Matplotlib-users] basemap and py2exe

2010-03-22 Thread Yagua Rovi
Hello World, I'm using py2exe to create an executable on windows . There is a setup.py file that allows me to create this executable under eclipse. I have a problem with basemap. Probably, the app needs data basemap directory but I don't know where to put it. Thanks for your help. Yagua The

Re: [Matplotlib-users] basemap and py2exe

2010-03-22 Thread Friedrich Romstedt
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