From 3e0e2d46338966f80f60a4b946872313644e8787 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 14 Dec 2016 15:53:47 -0800 Subject: setup.py: Add hook for tests. --- .travis.yml | 2 +- setup.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f112a21a..f849cf37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -83,7 +83,7 @@ install: # install sphinx for building the html docs pip install sphinx else - pip install . + pip install .[test] fi script: | diff --git a/setup.py b/setup.py index 226b8dd3..a3f6f908 100755 --- a/setup.py +++ b/setup.py @@ -33,5 +33,9 @@ setup(name='alot', 'python-magic', 'configobj>=4.7.0', 'pygpgme>=0.2'], + tests_require=[ + 'mock', + ], provides=['alot'], + test_suite="tests", ) -- cgit v1.2.3