diff setup.py @ 185:411db53cb9fb

user new modern test runners
author Jeff Hammel <k0scist@gmail.com>
date Fri, 21 Jul 2017 09:37:28 -0700
parents ae4e36f2c81a
children
line wrap: on
line diff
--- a/setup.py	Fri Jul 21 09:08:34 2017 -0700
+++ b/setup.py	Fri Jul 21 09:37:28 2017 -0700
@@ -15,6 +15,8 @@
                 'tempita',
                 'whichpy']
 
+tests_require = ['pytest', 'tox']
+
 # allow use of setuptools/distribute or distutils
 kw = {}
 try:
@@ -42,6 +44,7 @@
 # TODO:
 #   fold = numerics.fold:main  # fold data through functions (reduce)
     kw['install_requires'] = dependencies
+    kw['tests_require'] = tests_require
 except ImportError:
     from distutils.core import setup
     kw['requires'] = dependencies