From 84f236c1917745f66957358b43bf56547adf531f Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Tue, 26 Aug 2014 09:17:35 +0100 Subject: [PATCH] add tox.ini --- setup.py | 2 +- tox.ini | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 tox.ini diff --git a/setup.py b/setup.py index 20f425f..e605d9b 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( author="Autistici/Inventati", author_email="info@autistici.org", url="https://git.autistici.org/ai/authserv", - install_requires=["python-ldap", "PyOpenSSL", "Flask", "python-memcached", "nose"], + install_requires=["gevent", "python-ldap", "PyOpenSSL", "Flask", "python-memcached"], setup_requires=[], zip_safe=False, packages=find_packages(), diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..16cf0de --- /dev/null +++ b/tox.ini @@ -0,0 +1,10 @@ +[testenv] +deps= + python-ldap-test + nose + mock + coverage +commands= + nosetests \ + --with-coverage --cover-package=authserv \ + [] -- GitLab