comparison 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
comparison
equal deleted inserted replaced
184:ae30ceec9cd5 185:411db53cb9fb
12 'matplotlib', 12 'matplotlib',
13 'bokeh>=0.8.1', 13 'bokeh>=0.8.1',
14 'python-dateutil', 14 'python-dateutil',
15 'tempita', 15 'tempita',
16 'whichpy'] 16 'whichpy']
17
18 tests_require = ['pytest', 'tox']
17 19
18 # allow use of setuptools/distribute or distutils 20 # allow use of setuptools/distribute or distutils
19 kw = {} 21 kw = {}
20 try: 22 try:
21 from setuptools import setup 23 from setuptools import setup
40 types = numerics.convert:main 42 types = numerics.convert:main
41 """ 43 """
42 # TODO: 44 # TODO:
43 # fold = numerics.fold:main # fold data through functions (reduce) 45 # fold = numerics.fold:main # fold data through functions (reduce)
44 kw['install_requires'] = dependencies 46 kw['install_requires'] = dependencies
47 kw['tests_require'] = tests_require
45 except ImportError: 48 except ImportError:
46 from distutils.core import setup 49 from distutils.core import setup
47 kw['requires'] = dependencies 50 kw['requires'] = dependencies
48 51
49 try: 52 try: