From a921b1101df33a3a43c0510aede1c000ea4bab04 Mon Sep 17 00:00:00 2001 From: John Evans Date: Thu, 1 Jan 2015 22:17:55 -0500 Subject: [PATCH] refactor install_requires list, closes #310 split into install_requires and test_requires --- setup.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 474b6c8..0a62827 100644 --- a/setup.py +++ b/setup.py @@ -20,11 +20,13 @@ kwargs = {'name': 'Glymur', 'license': 'MIT', 'test_suite': 'glymur.test'} -instllrqrs = ['numpy>=1.4.1', 'lxml>=2.3.2'] +install_requires = ['numpy>=1.7.0', 'lxml>=3.0.0'] +test_requires = ['six>=1.7.0'] if sys.hexversion < 0x03030000: - instllrqrs.append('contextlib2>=0.4') - instllrqrs.append('mock>=1.0.1') -kwargs['install_requires'] = instllrqrs + install_requires.append('contextlib2>=0.4') + test_requires.append('mock>=1.0.1') +kwargs['install_requires'] = install_requires +kwargs['test_requires'] = test_requires clssfrs = ["Programming Language :: Python", "Programming Language :: Python :: 2.7",