doc/make.py clean

Hi,

"doc/make.py clean" runs svn-clean. Running svn-clean outside the svn
repository does not clean anything. So "doc/make.py clean" does not work
in the Debian/Ubuntu package. Please remove the generated files directly
and do not relay on svn. In our package we run these commands:

rm -rf doc/build doc/examples
rm -f doc/mpl_examples/api/*.png
rm -f doc/mpl_examples/pylab_examples/*.png
rm -f doc/mpl_examples/pylab_examples/*.pdf
rm -f doc/mpl_examples/units/*.png
rm -f doc/pyplots/tex_demo.png
rm -f doc/_static/matplotlibrc
rm -f doc/_templates/gallery.html

Cheers,
Benjamin

I have committed your suggestion to SVN r7849 (0.99 branch) and r7850 (trunk). It does exactly what you listed, but using Python functions rather than system calls. Please test in your environment and let me know if it's adequate when you get a chance.

Mike

Benjamin Drung wrote:

···

Hi,

"doc/make.py clean" runs svn-clean. Running svn-clean outside the svn
repository does not clean anything. So "doc/make.py clean" does not work
in the Debian/Ubuntu package. Please remove the generated files directly
and do not relay on svn. In our package we run these commands:

rm -rf doc/build doc/examples
rm -f doc/mpl_examples/api/*.png
rm -f doc/mpl_examples/pylab_examples/*.png
rm -f doc/mpl_examples/pylab_examples/*.pdf
rm -f doc/mpl_examples/units/*.png
rm -f doc/pyplots/tex_demo.png
rm -f doc/_static/matplotlibrc
rm -f doc/_templates/gallery.html

Cheers,
Benjamin

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Hi Mike,

thanks. Your Python implementation looks good. I will test it, when it
is official released and we package that release for Debian/Ubuntu. I
will let you know, if there is something missing or not working.
Otherwise all will be fine.

Cheers,
Benjamin

···

Am Dienstag, den 06.10.2009, 10:09 -0400 schrieb Michael Droettboom:

I have committed your suggestion to SVN r7849 (0.99 branch) and r7850
(trunk). It does exactly what you listed, but using Python functions
rather than system calls. Please test in your environment and let me
know if it's adequate when you get a chance.

Mike

Benjamin Drung wrote:
> Hi,
>
> "doc/make.py clean" runs svn-clean. Running svn-clean outside the svn
> repository does not clean anything. So "doc/make.py clean" does not work
> in the Debian/Ubuntu package. Please remove the generated files directly
> and do not relay on svn. In our package we run these commands:
>
> rm -rf doc/build doc/examples
> rm -f doc/mpl_examples/api/*.png
> rm -f doc/mpl_examples/pylab_examples/*.png
> rm -f doc/mpl_examples/pylab_examples/*.pdf
> rm -f doc/mpl_examples/units/*.png
> rm -f doc/pyplots/tex_demo.png
> rm -f doc/_static/matplotlibrc
> rm -f doc/_templates/gallery.html
>
> Cheers,
> Benjamin