[Checkins] SVN: zc.zodbdgc/trunk/ Make testing actually work with buildout/easy_install.

Zvezdan Petkovic zvezdan at zope.com
Thu Jul 1 14:41:59 EDT 2010


Log message for revision 114060:
  Make testing actually work with buildout/easy_install.
  
  

Changed:
  U   zc.zodbdgc/trunk/buildout.cfg
  U   zc.zodbdgc/trunk/setup.py

-=-
Modified: zc.zodbdgc/trunk/buildout.cfg
===================================================================
--- zc.zodbdgc/trunk/buildout.cfg	2010-07-01 18:34:49 UTC (rev 114059)
+++ zc.zodbdgc/trunk/buildout.cfg	2010-07-01 18:41:59 UTC (rev 114060)
@@ -7,7 +7,7 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = zc.zodbdgc
+eggs = zc.zodbdgc [test]
 
 [py]
 recipe = zc.recipe.egg

Modified: zc.zodbdgc/trunk/setup.py
===================================================================
--- zc.zodbdgc/trunk/setup.py	2010-07-01 18:34:49 UTC (rev 114059)
+++ zc.zodbdgc/trunk/setup.py	2010-07-01 18:41:59 UTC (rev 114060)
@@ -34,6 +34,8 @@
         '--------\n'
         )
 
+tests_require = ['zope.testing']
+
 setup(
     name = name,
     version = version,
@@ -50,6 +52,9 @@
     zip_safe = False,
     entry_points=entry_points,
     include_package_data = True,
-    tests_require=['zope.testing'],
+    tests_require=tests_require,
+    extras_require=dict(
+        test=tests_require,
+        ),
     test_suite='zc.zodbdgc.tests.test_suite',
     )



More information about the checkins mailing list