From: Charlie M. <cw...@gm...> - 2006-01-18 14:13:55
|
We haven't put support in yet, but it is very easy to do. I will add this to cvs very soon. For now: Edit basemap's setup.py and replace "from distutils.core import setup" with "from setuptools import setup". In BOTH mpl's and basemap's setup.py file add this option to the setup method, "namespace_packages =3D 'matplotlib.toolkits'". Both mpl and basemap should be installed as eggs. The namespace is how setuptools know separate packages share... a namespace. Let us know if you run into problems. - Charlie On 1/18/06, Tom Loredo <lo...@as...> wrote: > > Hi folks, > > I recently installed setuptools, and now whenever I build mpl > (I'm using 0.86), it gets installed in site-packages as an egg. > Fine, as far as use within python is concerned it works just > as before. But I just tried to install basemap, and the > installer puts it in site-packages in a new matplotlib directory > (i.e., not in the matplotlib...egg directory). If I try > to use it, I get an import error because it's not found > in the egg (which must the first place Python finds mpl). > > How can I properly install an mpl toolkit in the egg scenario; > or if there is no easy way, how can I "turn off" eggs so when > I build mpl it makes a normal install. Just deleting the > build directory (and the egg from site-packages) and rebuilding > from scratch didn't do it. > > Thanks, > Tom > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |