changeset 9:064e936c7257

pytest integration
author Jeff Hammel <k0scist@gmail.com>
date Fri, 01 Sep 2017 09:29:35 -0700
parents c907c8a103b4
children aeba5d141efd
files setup.cfg setup.py
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.cfg	Fri Sep 01 09:29:35 2017 -0700
@@ -0,0 +1,2 @@
+[aliases]
+test=pytest
\ No newline at end of file
--- a/setup.py	Thu Aug 31 10:06:20 2017 -0700
+++ b/setup.py	Fri Sep 01 09:29:35 2017 -0700
@@ -5,7 +5,8 @@
 import os
 
 version = "0.0"
-dependencies = ['numpy']
+dependencies = ['numerics',
+                'numpy']
 
 # allow use of setuptools/distribute or distutils
 kw = {}
@@ -39,8 +40,8 @@
       license='',
       packages=['tvii'],
       include_package_data=True,
-      tests_require=['tox'],
+      setup_requires=['pytest-runner'],
+      tests_require=['tox', 'pytest'],
       zip_safe=False,
       **kw
       )
-