From 90630c4f1014f0fe056ac7e54671bdd58777c91f Mon Sep 17 00:00:00 2001
From: Jim Fulton <jim@zope.com>
Date: Tue, 1 Dec 2009 22:09:54 +0000
Subject: [PATCH] Bug fixed: - zope.testing was an unnecessary non-testing
 dependency.

---
 buildout.cfg    | 2 +-
 setup.py        | 6 ++----
 src/CHANGES.txt | 3 ++-
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/buildout.cfg b/buildout.cfg
index 781fa0a3..e674a2b4 100644
--- a/buildout.cfg
+++ b/buildout.cfg
@@ -4,7 +4,7 @@ parts = test scripts
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = ZODB3
+eggs = ZODB3 [test]
 initialization = 
   import os, tempfile
   try: os.mkdir('tmp')
diff --git a/setup.py b/setup.py
index 3a4f8359..f32627f7 100644
--- a/setup.py
+++ b/setup.py
@@ -200,9 +200,8 @@ setup(name="ZODB3",
         read_file("README.txt")  + "\n\n" +
         read_file("src", "CHANGES.txt")),
       test_suite="__main__.alltests", # to support "setup.py test"
-      tests_require = [
-        'zope.testing',
-        ],
+      tests_require = ['zope.testing'],
+      extras_require = dict(test=['zope.testing']),
       install_requires = [
         'transaction',
         'zc.lockfile',
@@ -211,7 +210,6 @@ setup(name="ZODB3",
         'zope.event',
         'zope.interface',
         'zope.proxy',
-        'zope.testing',
         ],
       zip_safe = False,
       entry_points = """
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 2e1cf66f..cd301ad9 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -9,8 +9,9 @@ Bugs Fixed
 ----------
 
 - History support was broken when using stprages that work with ZODB
-  3.8 and 3.9
+  3.8 and 3.9.
 
+- zope.testing was an unnecessary non-testing dependency.
 
 3.9.3 (2009-10-23)
 ==================
-- 
2.30.9