From fa08fc06709b5e27d93ae50bc6fad5fc850e30b0 Mon Sep 17 00:00:00 2001 From: John Evans Date: Tue, 16 Jul 2013 18:26:53 -0400 Subject: [PATCH] Not going to bother with a test_requires section. Closes #51. Numpy causes trouble on the mac with test_requires. Anyway, the only real hard requirement is "mock" with 2.6 and 2.7, and that's hardly worth the extra trouble. matplotlib and pillow are optional requirements. --- setup.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index ace8f9c..6a950dc 100644 --- a/setup.py +++ b/setup.py @@ -16,19 +16,15 @@ kwargs = {'name': 'Glymur', 'test_suite': 'glymur.test', 'platforms': ['darwin']} -instllrqrs = ['numpy>1.6.2'] +instllrqrs = ['numpy>=1.4.1'] if sys.hexversion < 0x03030000: instllrqrs.append('contextlib2>=0.4') + instllrqrs.append('mock>=1.0.1') if sys.hexversion < 0x02070000: instllrqrs.append('ordereddict>=1.1') instllrqrs.append('unittest2>=0.5.1') kwargs['install_requires'] = instllrqrs -testrqrs = ['matplotlib>=1.1.0', 'Pillow>=2.0.0'] -if sys.hexversion < 0x03030000: - testrqrs.append('mock>=1.0.1') -kwargs['tests_require'] = testrqrs - clssfrs = ["Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7",