From: David W. <dav...@gm...> - 2011-11-11 20:12:20
|
Update: test folders are in the build directory, they are just not being copied during build. *bump* On 11/10/11, David Welch <dav...@gm...> wrote: > Hello, > > I am installing matplotlib on Snow Leopard 10.6. I downloaded v1.1.0 from > the sourceforge site and installed in this manner: > > ############################ > > $ export CFLAGS="-arch i386 -arch x86_64 -I/usr/X11/include > -I/usr/X11/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk" > $ export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch > x86_64 -L/usr/X11/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk" > $ export FFLAGS="-arch i386 -arch x86_64" > $ tar -xf matplotlib-1.1.0.tar.gz > $ cd matplotlib-1.1.0 > $ python setup.py build > $ python setup.py install > $ > $ python >>>> import matplotlib as mpl >>>> mpl.test("1") > ...........EEEEEEEEEEE > ====================================================================== > ERROR: Failure: AttributeError ('module' object has no attribute > 'test_backend_svg') > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/private/tmp/test/lib/python2.6/site-packages/nose/loader.py", line > 379, in loadTestsFromName > module = resolve_name(addr.module) > File "/private/tmp/test/lib/python2.6/site-packages/nose/util.py", line > 331, in resolve_name > obj = getattr(obj, part) > AttributeError: 'module' object has no attribute 'test_backend_svg' > > (etc.) > ############################# > > The failure is for all modules in matplotlib.tests except for test_agg, > test_cbook, test_mlab, and test_transform. > > Is the sourceforge achive incomplete? > > -Dave > > -- > David Welch > dav...@gm... > > > > -- Dept. of Psychiatry Dept. of Biomedical Engineering University of Iowa |