[Checkins] SVN: zope.testrunner/trunk/ Add extras_require and use that in buildout.cfg instead of listing the

Marius Gedminas marius at pov.lt
Wed Jun 16 08:31:29 EDT 2010


Log message for revision 113526:
  Add extras_require and use that in buildout.cfg instead of listing the
  dependencies explicitly.
  
  Should fix LP#580083.
  
  

Changed:
  U   zope.testrunner/trunk/buildout.cfg
  U   zope.testrunner/trunk/setup.py

-=-
Modified: zope.testrunner/trunk/buildout.cfg
===================================================================
--- zope.testrunner/trunk/buildout.cfg	2010-06-16 12:26:37 UTC (rev 113525)
+++ zope.testrunner/trunk/buildout.cfg	2010-06-16 12:31:28 UTC (rev 113526)
@@ -4,8 +4,7 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = zope.testrunner
-       zope.testing
+eggs = zope.testrunner[test]
 
 
 # The [test2X] sections below are to make testing with various Python versions

Modified: zope.testrunner/trunk/setup.py
===================================================================
--- zope.testrunner/trunk/setup.py	2010-06-16 12:26:37 UTC (rev 113525)
+++ zope.testrunner/trunk/setup.py	2010-06-16 12:31:28 UTC (rev 113526)
@@ -172,6 +172,7 @@
                         'zope.exceptions',
                         'zope.interface',],
     tests_require = ['zope.testing',],
+    extras_require = {'test': ['zope.testing',]},
     entry_points = {
         'console_scripts':
             ['zope-testrunner = zope.testrunner:run',]},



More information about the checkins mailing list