Skip to content

Commit

Permalink
Added test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Dec 9, 2009
1 parent ede313b commit f4de192
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions buildout.cfg
Expand Up @@ -17,4 +17,5 @@ interpreter = python
[test]
recipe = zc.recipe.testrunner
eggs = grokcore.security
grokcore.security[test]
defaults = ['--tests-pattern', '^f?tests$', '-v']
10 changes: 7 additions & 3 deletions setup.py
Expand Up @@ -10,6 +10,11 @@ def read(*rnames):
read('CHANGES.txt')
)

tests_require = [
'zope.configuration',
'zope.testing',
]

setup(
name='grokcore.security',
version = '1.4dev',
Expand Down Expand Up @@ -37,8 +42,7 @@ def read(*rnames):
'zope.component',
'zope.interface',
'zope.security',
# For tests only, could be moved to [test] extras.
'zope.configuration',
'zope.testing',
],
tests_require=tests_require,
extras_require={'test': tests_require},
)

0 comments on commit f4de192

Please sign in to comment.