On 07/19/2010 11:10 AM, Sandro Tosi wrote:
> Hello,
> you know this question might seems strange, but I'd like to avoid some
> examples to be built when creating documentation.
>
> Those examples are the one using mpl.cbook.get_sample_data() to
> retrieve data files from the remote svn. In Debian we are not allowed
> to prepare a package that downloads "stuff" from the web, so I have to
> avoid this.

Good policy!

>
> The fastest solution I see is to actually exclude them from the list
> of the examples to build (but still install them, for users to use),
> but I didn't understand how :)
>
> Another solution would be for you to ship those datafile into the
> released tarball, so that it's all consistent and then point the
> example to those files, but how? if you find this in some way
> unacceptable, I can also download those files separately and add them
> when preparing the Debian package, but I have to find a way to tell
> get_sample_data() to point to that location...
>
> ...and so I'm asking you: what would you feel to be the best solution?

I think we should include any necessary data, and also eliminate the 
downloading from the examples run by the standard backend_driver.  The 
caching doesn't seem to work right, and there are long timeouts.  This 
was a problem for me recently when I was out on a ship, working on mpl 
on a computer without a live internet connection.

It would be OK to retain some examples with live downloading, but they 
should not be required for doc generation or for basic testing of mpl.
They don't contribute anything essential to either.

Eric

>
> Thanks in advance for your help and suggestions,


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to