changeset 185:411db53cb9fb

user new modern test runners
author Jeff Hammel <k0scist@gmail.com>
date Fri, 21 Jul 2017 09:37:28 -0700
parents ae30ceec9cd5
children c2f545f32025
files setup.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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