[Checkins] SVN: grokcore.security/trunk/ Added test dependencies
Reinout van Rees
reinout at vanrees.org
Wed Dec 9 10:38:13 EST 2009
Log message for revision 106339:
Added test dependencies
Changed:
U grokcore.security/trunk/buildout.cfg
U grokcore.security/trunk/setup.py
-=-
Modified: grokcore.security/trunk/buildout.cfg
===================================================================
--- grokcore.security/trunk/buildout.cfg 2009-12-09 15:33:45 UTC (rev 106338)
+++ grokcore.security/trunk/buildout.cfg 2009-12-09 15:38:12 UTC (rev 106339)
@@ -17,4 +17,5 @@
[test]
recipe = zc.recipe.testrunner
eggs = grokcore.security
+ grokcore.security[test]
defaults = ['--tests-pattern', '^f?tests$', '-v']
Modified: grokcore.security/trunk/setup.py
===================================================================
--- grokcore.security/trunk/setup.py 2009-12-09 15:33:45 UTC (rev 106338)
+++ grokcore.security/trunk/setup.py 2009-12-09 15:38:12 UTC (rev 106339)
@@ -10,6 +10,11 @@
read('CHANGES.txt')
)
+tests_require = [
+ 'zope.configuration',
+ 'zope.testing',
+ ]
+
setup(
name='grokcore.security',
version = '1.4dev',
@@ -37,8 +42,7 @@
'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},
)
More information about the checkins
mailing list