[Zope3-checkins] SVN: zope.testing/regebro-notestrunner/s Testrunner removed, tests are now run with distribute, or zope.testrunner (once that exists).

Lennart Regebro regebro at gmail.com
Mon Apr 19 03:36:37 EDT 2010


Log message for revision 111057:
  Testrunner removed, tests are now run with distribute, or zope.testrunner (once that exists).
  

Changed:
  U   zope.testing/regebro-notestrunner/setup.py
  D   zope.testing/regebro-notestrunner/src/zope/testing/testrunner/

-=-
Modified: zope.testing/regebro-notestrunner/setup.py
===================================================================
--- zope.testing/regebro-notestrunner/setup.py	2010-04-19 07:29:11 UTC (rev 111056)
+++ zope.testing/regebro-notestrunner/setup.py	2010-04-19 07:36:37 UTC (rev 111057)
@@ -22,51 +22,9 @@
 """
 
 import os
+from setuptools import setup
 
-try:
-    from setuptools import setup
-    extra = dict(
-        namespace_packages=['zope',],
-        install_requires = ['setuptools',
-                            'zope.exceptions',
-                            'zope.interface'],
-        entry_points = {
-            'console_scripts':
-                ['zope-testrunner = zope.testing.testrunner:run',]},
-        include_package_data = True,
-        zip_safe = False,
-        )
-except ImportError, e:
-    from distutils.core import setup
-    extra = {}
-
 chapters = '\n'.join([
-    open(os.path.join('src', 'zope', 'testing', 'testrunner', name)).read()
-    for name in (
-        'testrunner.txt',
-        'testrunner-simple.txt',
-        'testrunner-layers-api.txt',
-        'testrunner-layers.txt',
-        'testrunner-arguments.txt',
-        'testrunner-verbose.txt',
-        'testrunner-test-selection.txt',
-        'testrunner-progress.txt',
-
-        # The following seems to cause weird unicode in the output: :(
-        ##     'testrunner-errors.txt',
-
-        'testrunner-debugging.txt',
-        'testrunner-layers-ntd.txt',
-        'testrunner-coverage.txt',
-        'testrunner-profiling.txt',
-        'testrunner-wo-source.txt',
-        'testrunner-repeat.txt',
-        'testrunner-gc.txt',
-        'testrunner-leaks.txt',
-        'testrunner-knit.txt',
-    )])
-
-chapters += '\n'.join([
     open(os.path.join('src', 'zope', 'testing', name)).read()
     for name in (
         'formparser.txt',
@@ -85,21 +43,15 @@
 
 setup(
     name='zope.testing',
-    version = '3.9.5dev',
+    version = '4.0.0dev',
     url='http://pypi.python.org/pypi/zope.testing',
     license='ZPL 2.1',
-    description='Zope testing framework, including the testrunner script.',
+    description='Zope testing helpers',
     long_description=long_description,
     author='Zope Foundation and Contributors',
     author_email='zope-dev at zope.org',
-
-    packages=["zope", "zope.testing"],
-    package_dir = {'': 'src'},
-
     classifiers=[
         "Development Status :: 5 - Production/Stable",
-        "Environment :: Console",
-        "Framework :: Zope3",
         "Intended Audience :: Developers",
         "License :: OSI Approved :: Zope Public License",
         "Operating System :: OS Independent",
@@ -109,5 +61,14 @@
         "Topic :: Software Development :: Libraries :: Python Modules",
         "Topic :: Software Development :: Testing",
         ],
-
-    **extra)
+    
+    packages=["zope", "zope.testing"],
+    package_dir = {'': 'src'},
+    namespace_packages=['zope',],
+    install_requires = ['setuptools',
+                        'zope.exceptions',
+                        'zope.interface'],
+    include_package_data = True,
+    zip_safe = False,
+    test_suite = 'zope.testing.tests.test_suite'
+)



More information about the Zope3-Checkins mailing list