On 2/9/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > It looks like we're on the hook for some bugs associated with our use of > setuptools... I'm forwarding an email from the distutils-sig.
> The short of it is that Phillip Eby suggests we move matplotlib.toolkits > to matplotlib_toolkits to save ourselves some grief. This does seem > easier than the apparent alternative -- moving everything out of > matplotlib/__init__.py. I could go either way -- we are going to break a lot of code no matter which way we do it. Ironically, and via a circuitous path, this is ultimately my problem. The problem Phil is discussing was raised by Skip on the distutils list. Skip works with me and is trying to diagnose an MPL install problem I encountered at work yesterday and asked for his input on. I am inclined to consider ripping out the __init__ stuff into a "config" module or something like that. The reason is that every time someone wants to use matplotlib as a library, eg to import a single function from matplotlib.cbook, they have to pay for the entire __init__load including the rc parse, even though cbook doesn' use anything else from the rest of matplotlib. It only depends on the standard library. So there is at least one additional reason to move the stuff from __init__ out. I also like the ability to use eggs to have mpl namespace packages, eg toolkits. So if ease-of-implementation is the only argument against ripping out the __init__ stuff I don't find it compelling (I'll be happy to do it) but if there are other reasons to leave __init__ as is let's hear them. JDH ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel