[Checkins] SVN: grokcore.formlib/trunk/ splitted regular and test dependencies
Reinout van Rees
reinout at vanrees.org
Wed Dec 9 10:33:45 EST 2009
Log message for revision 106338:
splitted regular and test dependencies
Changed:
U grokcore.formlib/trunk/CHANGES.txt
U grokcore.formlib/trunk/buildout.cfg
U grokcore.formlib/trunk/setup.py
-=-
Modified: grokcore.formlib/trunk/CHANGES.txt
===================================================================
--- grokcore.formlib/trunk/CHANGES.txt 2009-12-09 15:17:06 UTC (rev 106337)
+++ grokcore.formlib/trunk/CHANGES.txt 2009-12-09 15:33:45 UTC (rev 106338)
@@ -7,7 +7,7 @@
- Use zope.container instead of zope.app.container (in tests and in the
configure.zcml).
-- Fixed up missing dependencies.
+- Fixed up missing dependencies and splitted regular and test dependencies.
1.4 (2009-09-17)
Modified: grokcore.formlib/trunk/buildout.cfg
===================================================================
--- grokcore.formlib/trunk/buildout.cfg 2009-12-09 15:17:06 UTC (rev 106337)
+++ grokcore.formlib/trunk/buildout.cfg 2009-12-09 15:33:45 UTC (rev 106338)
@@ -15,4 +15,5 @@
[test]
recipe = zc.recipe.testrunner
eggs = grokcore.formlib
+ grokcore.formlib[test]
defaults = ['--tests-pattern', '^f?tests$', '-v']
Modified: grokcore.formlib/trunk/setup.py
===================================================================
--- grokcore.formlib/trunk/setup.py 2009-12-09 15:17:06 UTC (rev 106337)
+++ grokcore.formlib/trunk/setup.py 2009-12-09 15:33:45 UTC (rev 106338)
@@ -10,6 +10,16 @@
read('CHANGES.txt')
)
+tests_require = [
+ 'zope.app.testing',
+ 'zope.app.zcmlfiles',
+ 'zope.component',
+ 'zope.configuration',
+ 'zope.securitypolicy',
+ 'zope.testbrowser',
+ 'zope.testing',
+ ]
+
setup(
name='grokcore.formlib',
version = '1.5dev',
@@ -45,13 +55,7 @@
'zope.lifecycleevent',
'zope.publisher',
'zope.schema',
- # for tests:
- 'zope.app.testing',
- 'zope.app.zcmlfiles',
- 'zope.component',
- 'zope.configuration',
- 'zope.securitypolicy',
- 'zope.testbrowser',
- 'zope.testing',
],
+ tests_require=tests_require,
+ extras_require={'test': tests_require},
)
More information about the checkins
mailing list