On Friday 16 November 2007 01:46:25 pm Rob Hetland wrote:
> On Nov 16, 2007, at 6:10 PM, Darren Dale wrote:
> > Hi Rob,
> >
> > On Friday 16 November 2007 11:14:50 am Rob Hetland wrote:
> >> Some recent changes (in the last few days) have caused my build to
> >> break.  Three things:
> >>
> >> First of all, the line in setupext.py:  if version.version.endswith
> >> ('mpl'):
> >> fails.  I can comment this block out, and set the return of
> >> check_provide_traits(): to True, and things seem to work well.
> >
> > I'm surprised by that failure, but need some more information to
> > fix it. What
> > is the type and value of version.version on your machine? What
> > specifically
> > did you block out to make it work?
>
> The exact error is:
>
> EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
>               configobj: matplotlib will provide
> Traceback (most recent call last):
>    File "setup.py", line 234, in <module>
>      if check_provide_traits(): build_traits(ext_modules, packages)
>    File "/Users/rob/src/python/matplotlib/matplotlib/setupext.py",
> line 468, in check_provide_traits
>      if version.version.endswith('mpl'):
> AttributeError: 'module' object has no attribute 'version'
>
> The problem is that my enthough.traits.version has no version attribute:
>  >>> from enthought.traits import version
>  >>> version.version
>
> ------------------------------------------------------------------------
> ---
> AttributeError                            Traceback (most recent call
> last)
>
> /Users/rob/<ipython console> in <module>()
>
> AttributeError: 'module' object has no attribute 'version'

Ok, it looks like I haven't covered all the possible variations in the traits 
API yet. What version of traits are you using? Would you send me a copy of 
your version.py file off list?

Thanks,
Darren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to