[Checkins] SVN: zope.component/trunk/ fix test_requires, avoid repitition

Fred Drake fdrake at gmail.com
Fri Jul 9 15:47:57 EDT 2010


Log message for revision 114404:
  fix test_requires, avoid repitition

Changed:
  U   zope.component/trunk/CHANGES.txt
  U   zope.component/trunk/setup.py

-=-
Modified: zope.component/trunk/CHANGES.txt
===================================================================
--- zope.component/trunk/CHANGES.txt	2010-07-09 18:59:13 UTC (rev 114403)
+++ zope.component/trunk/CHANGES.txt	2010-07-09 19:47:56 UTC (rev 114404)
@@ -1,9 +1,10 @@
 CHANGES
 *******
 
-3.9.5 (unreleased)
+3.9.5 (2010-07-09)
 ==================
 
+- Fix test requirements specification.
 
 3.9.4 (2010-04-30)
 ==================

Modified: zope.component/trunk/setup.py
===================================================================
--- zope.component/trunk/setup.py	2010-07-09 18:59:13 UTC (rev 114403)
+++ zope.component/trunk/setup.py	2010-07-09 19:47:56 UTC (rev 114404)
@@ -23,6 +23,16 @@
 from setuptools import setup, find_packages
 
 
+tests_require = [
+    'ZODB3',
+    'zope.hookable',
+    'zope.location',
+    'zope.proxy',
+    'zope.security',
+    'zope.testing',
+    ]
+
+
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
@@ -61,13 +71,7 @@
     package_dir = {'': 'src'},
 
     namespace_packages=['zope',],
-    tests_require = [
-        'zope.testing'
-        'zope.hookable',
-        'zope.location',
-        'zope.proxy',
-        'zope.security',
-        ],
+    tests_require = tests_require,
     install_requires=['setuptools',
                       'zope.interface',
                       'zope.event',
@@ -80,13 +84,7 @@
         zcml = ['zope.configuration',
                 'zope.i18nmessageid',
                 ],
-        test = ['ZODB3',
-                'zope.testing',
-                'zope.hookable',
-                'zope.location',
-                'zope.proxy',
-                'zope.security',
-                ],
+        test = tests_require,
         docs = ['z3c.recipe.sphinxdoc'],
         ),
     )



More information about the checkins mailing list