On 10/6/2011 10:58 AM, Christoph Gohlke wrote:
>
>
> On 10/6/2011 10:42 AM, Benjamin Root wrote:
>>
>>
>> On Thursday, October 6, 2011, John Hunter<[email protected]
>> <mailto:[email protected]>> wrote:
>>> On Thu, Oct 6, 2011 at 11:43 AM, Christoph Gohlke<[email protected]
>> <mailto:[email protected]>> wrote:
>>>
>>>> Is it really intended to include ~36 MB of tests/baseline_images in the
>>>> binary distributions for end users?
>>>
>>> I'm OK with excluding the test images from the binaries. Does anyone
>> disagree?
>>
>> What happens if someone tries to test without having the baseline
>> images? I guess it hasn't been an issue before.
>
> The baseline images were included in previous binary distributions but
> they were much smaller (~10 MB uncompressed). Mpl 1.1 includes ~19.5 MB
> new test_delaunay images.
>
> The mpl 1.1 installers with baseline images are around 30 MB, vs. ~4.2
> MB without.
>
> There's a switch in setup.py:
>
> if 0:
> # TODO: exclude these when making release?
> baseline_images = glob.glob(os.path.join('lib','matplotlib','tests',
> 'baseline_images','*','*'))
>
>>
>>>
>>>> Do you need eggs (not tested; without pytz and dateutil)?
>>>
>>> I'm OK w/ not shipping eggs. Someone will probably ask for them, though.
>>
>> Have we shipped eggs before?
>
> Yes, on request for mpl 1.0.1
> <https://sourceforge.net/mailarchive/message.php?msg_id=25760379>.
>
> Christoph
>
I am ready to upload installers without the baseline images. How about a
separate installer for matplotlib.tests?
# setup_tests.py
from distutils.core import setup
for line in open('lib/matplotlib/__init__.py').readlines():
if (line.startswith('__version__')):
exec(line.strip())
setup(name="matplotlib-tests",
version=__version__,
description="Tests for matplotlib",
author="John D. Hunter",
author_email="[email protected]",
url="http://matplotlib.sourceforge.net",
packages = ['matplotlib.tests'],
package_dir = {'': 'lib'},
package_data = {'matplotlib.tests':['baseline_images/*/*']},
platforms='any'
)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel