# HG changeset patch # User Jeff Hammel # Date 1500655048 25200 # Node ID 411db53cb9fb9f705dc75b418788e5828ca1ec24 # Parent ae30ceec9cd5fc0e720af1649efa23556abe864a user new modern test runners diff -r ae30ceec9cd5 -r 411db53cb9fb setup.py --- 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