changeset 91:823c5c26fe66

toxify
author Jeff Hammel <k0scist@gmail.com>
date Wed, 12 Apr 2017 12:47:44 -0700
parents fa2c4db30e81
children 36f5d31c3ed6
files setup.py tox.ini
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Wed Apr 12 11:46:57 2017 -0700
+++ b/setup.py	Wed Apr 12 12:47:44 2017 -0700
@@ -23,10 +23,10 @@
       include_package_data=True,
       zip_safe=False,
       install_requires=dependencies,
+      tests_require=['tox'],
       entry_points="""
       # -*- Entry points: -*-
       [console_scripts]
       pyloader = pyloader.invoke:main
       """,
       )
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tox.ini	Wed Apr 12 12:47:44 2017 -0700
@@ -0,0 +1,5 @@
+# https://tox.readthedocs.io/en/latest/
+[tox]
+envlist=py27
+[testenv]
+commands=python setup.py test
\ No newline at end of file