From: Michael D. <md...@st...> - 2011-11-11 21:02:06
|
Have you tried removing the build directory and install directories to force a full rebuild? It sounds like the build or install got stuck at some point. I've never seen it not copy *.py files in a package before. Mike On 11/11/2011 03:12 PM, David Welch wrote: > 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... >> >> >> >> > |