Dave Peterson wrote:
> It does look like one of the dependencies in enthought.traits is wrong 
> then.  In particular, it was thought that enthought.resource was only 
> required if you actually *used* Traits UI features.   I just looked at 
> the code and the only import, in traits, of a package from 
> enthought.resource is in the tree_node.py file which is imported as part 
> of the enthought.traits.ui.api namespace -- which means it happens 
> *alot*.  I'll look at avoiding that import, or handling it in a 
> try...except, or update the dependencies and check the changes in as 
> soon as I can get to it.  (I'm in the middle of something else currently.)
>   

Just uploaded a new source tarball that I believe should have this fixed 
so that you don't need to install enthought.resource.  Basically, I 
moved the import from enthought.resource such that it is only executed 
if you're actually using Traits UI tree node features.  I also wrapped 
it with a try...except so that if you don't have enthought.resource 
installed, you just don't find some of the tree node images instead of 
getting a hard failure.

It is svn revision 12960.

-- Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to