Re: [matplotlib-devel] Question about sphinx doc extensions

2008-09-13 Thread John Hunter
On Thu, Sep 11, 2008 at 5:49 PM, Ted Drain <[EMAIL PROTECTED]> wrote:
> Mike,
> Thanks for the info.  I noticed in plot_directive.py that ipython seems to
> be required to build the docs.  Is that absolutely needed or is it a
> holdover from doing something else?  I'm asking because we would like to
> build the docs locally but don't currently install ipython.  I could change
> that but it's just an artifact of something else it might be better to
> remove that dependency.

I replaced the ipython shell magic_run functionality with the basic
code.InteractiveConsole.runsource function.  This works fine -- we may
lose some of ipython's nice traceback functionality so if we want we
can have a switch that uses ipython if available and falls back on the
default code module, but for now I have simply removed the ipython
dependency.

For some reason runsource prints the intro docstring to the console
from files passed to runsource -- not sure how suppress this but it is
a minor nuisance.

JDH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Help with Install Error

2008-09-13 Thread Adrian Price-Whelan
Hey all -

I'm having some trouble building and installing matplotlib on my  
Macbook Pro running OS X 10.5.4.
I don't understand exactly what the errors are trying to tell me...any  
help is much appreciated!

i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused  
because linking not done
i686-apple-darwin9-gcc-4.0.1: Tcl: linker input file unused because  
linking not done
i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused  
because linking not done
i686-apple-darwin9-gcc-4.0.1: Tk: linker input file unused because  
linking not done
powerpc-apple-darwin9-gcc-4.0.1: -framework: linker input file unused  
because linking not done
powerpc-apple-darwin9-gcc-4.0.1: Tcl: linker input file unused because  
linking not done
powerpc-apple-darwin9-gcc-4.0.1: -framework: linker input file unused  
because linking not done
powerpc-apple-darwin9-gcc-4.0.1: Tk: linker input file unused because  
linking not done
g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g - 
bundle -undefined dynamic_lookup build/temp.macosx-10.3-fat-2.5/src/ 
_tkagg.o build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o build/ 
temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o build/temp.macosx-10.3- 
fat-2.5/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/ 
CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/sw/lib -L/usr/X11R6/ 
lib -L/usr/local/lib -L/usr/lib -L/sw/lib -L/usr/X11R6/lib -lstdc++ - 
lm -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/ 
matplotlib/backends/_tkagg.so -framework Tcl -framework Tk
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib,  
file is not of required architecture for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/U8/U8oYQjnOFIi8el0mQQiHaU++ 
+TI/-Tmp-//ccyj53Iw.out (No such file or directory)
error: command 'g++' failed with exit status 1

Thanks
-Adrian

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel