[Zope3-checkins] SVN: zope.testing/trunk/ state test dependencies explicitly

Godefroid Chapelle gotcha at bubblenet.be
Tue Mar 23 08:03:28 EDT 2010


Log message for revision 110113:
  state test dependencies explicitly

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

-=-
Modified: zope.testing/trunk/buildout.cfg
===================================================================
--- zope.testing/trunk/buildout.cfg	2010-03-23 11:12:31 UTC (rev 110112)
+++ zope.testing/trunk/buildout.cfg	2010-03-23 12:03:28 UTC (rev 110113)
@@ -1,11 +1,13 @@
 [buildout]
 develop = .
-parts = test
+parts = test z3c.dependencychecker
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = zope.testing
+eggs = zope.testing [test]
 
+[z3c.dependencychecker]
+recipe = zc.recipe.egg:scripts
 
 # The [test2X] sections below are to make testing with various Python versions
 # easier.  You'll need entries in your default.cfg that point to the location
@@ -21,12 +23,12 @@
 [test24]
 python = python2.4
 recipe = zc.recipe.testrunner
-eggs = zope.testing
+eggs = zope.testing [test]
 
 [test25]
 python = python2.5
 recipe = zc.recipe.testrunner
-eggs = zope.testing
+eggs = zope.testing [test]
 
 [test26]
 python = python2.6

Modified: zope.testing/trunk/setup.py
===================================================================
--- zope.testing/trunk/setup.py	2010-03-23 11:12:31 UTC (rev 110112)
+++ zope.testing/trunk/setup.py	2010-03-23 12:03:28 UTC (rev 110113)
@@ -28,9 +28,12 @@
     extra = dict(
         namespace_packages=['zope',],
         install_requires = ['setuptools',
-                            'zope.exceptions',
-                            'zope.interface'],
+        ],
         entry_points = {'console_scripts': ['zope-testrunner = zope.testing.testrunner:run',]},
+        extras_require=dict(
+            test=['zope.exceptions',
+                  'zope.interface',
+                 ]),
         include_package_data = True,
         zip_safe = False,
         )



More information about the Zope3-Checkins mailing list