From d81f6ced46c1c36c7ceda2783814b60d6b347826 Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 29 Jun 2013 14:33:50 -0300 Subject: Fix setuptools' test suite spec. --- mail/setup.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mail/setup.py') diff --git a/mail/setup.py b/mail/setup.py index f0713bf8..3feb275d 100644 --- a/mail/setup.py +++ b/mail/setup.py @@ -17,8 +17,11 @@ """ setup file for leap.mail """ + + from setuptools import setup, find_packages + requirements = [ "leap.soledad", "leap.common>=0.2.3-dev", @@ -32,7 +35,6 @@ tests_requirements = [ ] # XXX add classifiers, docs - setup( name='leap.mail', version='0.2.0-dev', @@ -46,8 +48,8 @@ setup( ), namespace_packages=["leap"], package_dir={'': 'src'}, - packages=find_packages('src', exclude=['leap.mail.tests']), - test_suite='leap.mail.tests', + packages=find_packages('src'), + test_suite='leap.mail.load_tests', install_requires=requirements, tests_require=tests_requirements, ) -- cgit v1.2.3