[Checkins] SVN: z3c.recipe.subprocess/trunk/ - fixed namespace declaration

Michael Howitz mh at gocept.com
Mon Sep 27 02:55:27 EDT 2010


Log message for revision 116963:
  - fixed namespace declaration
  - fixed buildout.cfg to not use a not existing extra
  - Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest``.
  

Changed:
  U   z3c.recipe.subprocess/trunk/buildout.cfg
  U   z3c.recipe.subprocess/trunk/setup.py
  U   z3c.recipe.subprocess/trunk/z3c/recipe/subprocess/tests/test_docs.py

-=-
Modified: z3c.recipe.subprocess/trunk/buildout.cfg
===================================================================
--- z3c.recipe.subprocess/trunk/buildout.cfg	2010-09-27 06:41:34 UTC (rev 116962)
+++ z3c.recipe.subprocess/trunk/buildout.cfg	2010-09-27 06:55:27 UTC (rev 116963)
@@ -4,5 +4,5 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = z3c.recipe.subprocess [test]
+eggs = z3c.recipe.subprocess
 

Modified: z3c.recipe.subprocess/trunk/setup.py
===================================================================
--- z3c.recipe.subprocess/trunk/setup.py	2010-09-27 06:41:34 UTC (rev 116962)
+++ z3c.recipe.subprocess/trunk/setup.py	2010-09-27 06:55:27 UTC (rev 116963)
@@ -7,12 +7,12 @@
 
 version = '0.1'
 
-README = os.path.join(os.path.dirname(__file__), 
+README = os.path.join(os.path.dirname(__file__),
                       'z3c',
                       'recipe',
                       'subprocess', 'docs', 'README.txt')
 
-long_description = open(README).read() + '\n\n' 
+long_description = open(README).read() + '\n\n'
 
 entry_point = 'z3c.recipe.subprocess:Recipe'
 
@@ -33,7 +33,7 @@
       url='http://cheeseshop.python.org/pypi/z3c.recipe.subprocess',
       license='ZPL',
       packages=find_packages(exclude=['ez_setup']),
-      namespace_packages=['z3c.recipe'],
+      namespace_packages=['z3c', 'z3c.recipe'],
       include_package_data=True,
       zip_safe=True,
       install_requires=['setuptools',

Modified: z3c.recipe.subprocess/trunk/z3c/recipe/subprocess/tests/test_docs.py
===================================================================
--- z3c.recipe.subprocess/trunk/z3c/recipe/subprocess/tests/test_docs.py	2010-09-27 06:41:34 UTC (rev 116962)
+++ z3c.recipe.subprocess/trunk/z3c/recipe/subprocess/tests/test_docs.py	2010-09-27 06:55:27 UTC (rev 116963)
@@ -9,7 +9,6 @@
 import sys
 import os
 
-from zope.testing import doctest
 
 current_dir = os.path.dirname(__file__)
 
@@ -20,7 +19,7 @@
         globs = globals()
 
     globs['test_dir'] = current_dir
-    
+
     flags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE |
              doctest.REPORT_ONLY_FIRST_FAILURE)
 
@@ -35,8 +34,8 @@
             os.listdir(doctest_dir) if doc.endswith('.txt')]
 
     for test in docs:
-        suite.append(doctest.DocFileSuite(test, optionflags=flags, 
-                                          globs=globs, setUp=setUp, 
+        suite.append(doctest.DocFileSuite(test, optionflags=flags,
+                                          globs=globs, setUp=setUp,
                                           tearDown=tearDown,
                                           module_relative=False))
 



More information about the checkins mailing list