On 24.03.2012, at 8:16PM, Sandro Tosi wrote:
>
> to run tests I use:
>
> python -c "import matplotlib as m ; m.test(verbosity=1)"
>
Ah, thanks for the reminder; that looks much more comprehensive!
Actually the fink testing command requires an exit value of 1 or higher to
detect errors, so I am using something like
"… r=m.test(verbosity=1); sys.exit(len(r.errors+r.failures))"
>> I have another question - I am trying to build a fink package with the
>> documentation
>> and am wondering if "python make.py --small html"
>
> In debian I use:
>
> ./make.py --small all
>
>> actually has any effect?
>
> what do you mean?
>
>> This still creates more than 70 MB of documentation, 24 MB in the _images
>> subdir
>> alone, which increases the .deb size by a factor of ~2.5. How are you
>> handling this
>> for the Debian package?
>
> well, yes, the doc is huge (the debian package size is 52M compressed)
> and that is good; --small helped reducing the package size, setting
>
> if small_docs:
> options = "-D plot_formats=\"[('png', 80)]\""
>
> which reduced the type and size of the output images.
Indeed, I seemed to remember the regular output was not that much larger,
but I must have missed all the hires.png and pdf images in the mpl_examples.
They do account for additional 60-70 MB...
I was also curious if you had considered moving the docs to a separate package.
I will propose one for fink; since there probably more people are building
their
packages themselves, the savings in build time might already justify that.
Cheers,
Derek
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel