[Checkins] SVN: grokcore.annotation/trunk/ Added test dependencies

Reinout van Rees reinout at vanrees.org
Wed Dec 9 10:00:56 EST 2009


Log message for revision 106336:
  Added test dependencies

Changed:
  U   grokcore.annotation/trunk/buildout.cfg
  U   grokcore.annotation/trunk/setup.py

-=-
Modified: grokcore.annotation/trunk/buildout.cfg
===================================================================
--- grokcore.annotation/trunk/buildout.cfg	2009-12-09 14:53:57 UTC (rev 106335)
+++ grokcore.annotation/trunk/buildout.cfg	2009-12-09 15:00:56 UTC (rev 106336)
@@ -15,4 +15,5 @@
 [test]
 recipe = zc.recipe.testrunner
 eggs = grokcore.annotation
+       grokcore.annotation[test]
 defaults = ['--tests-pattern', '^f?tests$', '-v']

Modified: grokcore.annotation/trunk/setup.py
===================================================================
--- grokcore.annotation/trunk/setup.py	2009-12-09 14:53:57 UTC (rev 106335)
+++ grokcore.annotation/trunk/setup.py	2009-12-09 15:00:56 UTC (rev 106336)
@@ -10,6 +10,12 @@
     read('CHANGES.txt')
     )
 
+tests_require = [
+    'zope.configuration',
+    'zope.testing',
+    ]
+
+
 setup(
     name='grokcore.annotation',
     version='1.2dev',
@@ -41,10 +47,7 @@
         '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},
     )



More information about the checkins mailing list