Eric Firing wrote:
> John Hunter wrote:
>   
>> On Sat, Jan 2, 2010 at 12:34 AM, Eric Firing <efir...@hawaii.edu> wrote:
>>     
>>> Jae-Joon Lee wrote:
>>>       
>>>> Maybe we need something like "python make.py clean"?
>>>>         
It already does have "clean", but from the looks of it, it is currently 
broken (I just fixed this in SVN).  It used to call out to svn-clean, 
but it was pointed out that only works if you're building from SVN, not 
from a tarball (which is a problem for the Linux distros).  So there is 
explicit code in make.py to delete all of the generated files.
> Do you know why the plot directive (I assume that is the cause of the 
> problem) cannot put all generated output in build?  Or is this a more 
> general Sphinx wart?
>   
The problem is not in the plot_directive (though I suppose it could be 
more helpful when the file isn't found) -- it does in fact put 
everything under build.  The problem is in gen_rst.py, which generates 
pages for all of the examples, and puts them in doc/examples.  At the 
time, it wasn't clear how to generate these pages under the build tree 
and then have Sphinx pick them up.  That may have predated all of the 
"hooks" that Sphinx now has, however, and it may now be possible to 
solve that problem.

Mike

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to