[Checkins] SVN: z3c.sharding/trunk/ - Declared dependency on `zope.app.container`.

Michael Howitz mh at gocept.com
Mon Oct 25 02:52:42 EDT 2010


Log message for revision 117837:
  - Declared dependency on `zope.app.container`.
  
  - Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest[unit]``.
  

Changed:
  U   z3c.sharding/trunk/CHANGES.txt
  U   z3c.sharding/trunk/setup.py
  U   z3c.sharding/trunk/src/z3c/sharding/tests.py

-=-
Modified: z3c.sharding/trunk/CHANGES.txt
===================================================================
--- z3c.sharding/trunk/CHANGES.txt	2010-10-25 06:49:03 UTC (rev 117836)
+++ z3c.sharding/trunk/CHANGES.txt	2010-10-25 06:52:42 UTC (rev 117837)
@@ -2,7 +2,17 @@
 CHANGES
 =======
 
-Version 0.1.0 (2008-??-??)
---------------------------
+0.1.1 (unreleased)
+------------------
 
+- Declared dependency on `zope.app.container`.
+
+- Using Python's ``doctest`` module instead of depreacted
+  ``zope.testing.doctest[unit]``.
+
+
+
+0.1.0 (2008-??-??)
+------------------
+
 - Initial Release

Modified: z3c.sharding/trunk/setup.py
===================================================================
--- z3c.sharding/trunk/setup.py	2010-10-25 06:49:03 UTC (rev 117836)
+++ z3c.sharding/trunk/setup.py	2010-10-25 06:52:42 UTC (rev 117837)
@@ -23,7 +23,7 @@
 
 setup(
     name='z3c.sharding',
-    version = '0.1.0-dev',
+    version = '0.1.1dev',
     author='Keas, Inc.',
     description='Database Sharding for ZODB',
     long_description=(
@@ -42,6 +42,7 @@
         ),
     install_requires=[
         'setuptools',
+        'zope.app.container',
         ],
     include_package_data = True,
     zip_safe = False,

Modified: z3c.sharding/trunk/src/z3c/sharding/tests.py
===================================================================
--- z3c.sharding/trunk/src/z3c/sharding/tests.py	2010-10-25 06:49:03 UTC (rev 117836)
+++ z3c.sharding/trunk/src/z3c/sharding/tests.py	2010-10-25 06:52:42 UTC (rev 117837)
@@ -15,8 +15,8 @@
 
 $Id: tests.py 165 2008-03-12 00:09:25Z pcardune $
 """
+import doctest
 import unittest
-from zope.testing import doctestunit, doctest
 #from zope.app.testing import placelesssetup
 
 # set up internationalization
@@ -25,13 +25,10 @@
 
 def test_suite():
     return unittest.TestSuite((
-        doctestunit.DocFileSuite(
+        doctest.DocFileSuite(
             'README.txt',
             #'implementation.txt',
             #setUp=placelesssetup.setUp, tearDown=placelesssetup.tearDown,
             optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
             ),
         ))
-
-if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')



More information about the checkins mailing list