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 Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel