diff options
| author | Fred Drake <fdrake@acm.org> | 2010-07-09 19:47:56 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2010-07-09 19:47:56 +0000 |
| commit | d23918f684e36b6a9a6c1d9c48e602da64bc8ddf (patch) | |
| tree | 6d466e800e8b37f4bb5744eccc0e7d9684ded271 | |
| parent | 00d5b2c8a58fd674e1f499efcb881b7a580f2d7e (diff) | |
| download | zope-component-d23918f684e36b6a9a6c1d9c48e602da64bc8ddf.tar.gz | |
fix test_requires, avoid repitition
| -rw-r--r-- | CHANGES.txt | 3 | ||||
| -rw-r--r-- | setup.py | 26 |
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) ================== @@ -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'], ), ) |
