summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2010-07-09 19:47:56 +0000
committerFred Drake <fdrake@acm.org>2010-07-09 19:47:56 +0000
commitd23918f684e36b6a9a6c1d9c48e602da64bc8ddf (patch)
tree6d466e800e8b37f4bb5744eccc0e7d9684ded271
parent00d5b2c8a58fd674e1f499efcb881b7a580f2d7e (diff)
downloadzope-component-d23918f684e36b6a9a6c1d9c48e602da64bc8ddf.tar.gz
fix test_requires, avoid repitition
-rw-r--r--CHANGES.txt3
-rw-r--r--setup.py26
2 files changed, 14 insertions, 15 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 26a984a..53e1cd6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -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)
==================
diff --git a/setup.py b/setup.py
index c77cd8d..ac49b77 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,16 @@ import os
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 @@ setup(
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 @@ setup(
zcml = ['zope.configuration',
'zope.i18nmessageid',
],
- test = ['ZODB3',
- 'zope.testing',
- 'zope.hookable',
- 'zope.location',
- 'zope.proxy',
- 'zope.security',
- ],
+ test = tests_require,
docs = ['z3c.recipe.sphinxdoc'],
),
)