[Checkins] SVN: Products.CMFCore/trunk/setup.py Allow 'python setup.py test' to run all the tests.

Tres Seaver tseaver at palladion.com
Mon Oct 6 22:58:31 EDT 2008


Log message for revision 91827:
  Allow 'python setup.py test' to run all the tests.

Changed:
  U   Products.CMFCore/trunk/setup.py

-=-
Modified: Products.CMFCore/trunk/setup.py
===================================================================
--- Products.CMFCore/trunk/setup.py	2008-10-07 02:57:51 UTC (rev 91826)
+++ Products.CMFCore/trunk/setup.py	2008-10-07 02:58:30 UTC (rev 91827)
@@ -42,14 +42,22 @@
       include_package_data=True,
       namespace_packages=['Products'],
       zip_safe=False,
+      setup_requires=['eggtestinfo',
+                     ],
       install_requires=[
           #'Zope >= 2.10.4',
           'setuptools',
           'five.localsitemanager>=0.3',
           'Products.GenericSetup',
           ],
+      tests_require=['zope.testing>=3.7.0',
+                    ],
+      test_loader='zope.testing.testrunner.eggsupport:SkipLayers',
+      test_suite='Products.%s' % NAME,
       entry_points="""
       [zope2.initialize]
       Products.%s = Products.%s:initialize
+      [distutils.commands]
+      ftest = zope.testing.testrunner.eggsupport:ftest
       """ % (NAME, NAME),
       )



More information about the Checkins mailing list