From 9327a880f35734613bf7d9026eb1d7c53dbfcbbc Mon Sep 17 00:00:00 2001 From: Reinout van Rees Date: Wed, 9 Dec 2009 15:00:56 +0000 Subject: [PATCH] Added test dependencies --- buildout.cfg | 1 + setup.py | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/buildout.cfg b/buildout.cfg index 299d658..03e889f 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -15,4 +15,5 @@ interpreter = python [test] recipe = zc.recipe.testrunner eggs = grokcore.annotation + grokcore.annotation[test] defaults = ['--tests-pattern', '^f?tests$', '-v'] diff --git a/setup.py b/setup.py index 55b74bc..82f6c50 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,12 @@ def read(*rnames): read('CHANGES.txt') ) +tests_require = [ + 'zope.configuration', + 'zope.testing', + ] + + setup( name='grokcore.annotation', version='1.2dev', @@ -41,10 +47,7 @@ def read(*rnames): 'zope.component', 'zope.container', 'zope.interface', - # The following two ought to be moved to [test]. - 'zope.configuration', - 'zope.testing', ], - #extras_require={ - # 'test': []}, + tests_require=tests_require, + extras_require={'test': tests_require}, )