[Checkins] SVN: Products.CMFUid/trunk/setup.py Get tests running using 'python setup.py ftest'.

Tres Seaver tseaver at palladion.com
Mon Oct 6 23:17:16 EDT 2008


Log message for revision 91833:
  Get tests running using 'python setup.py ftest'.

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

-=-
Modified: Products.CMFUid/trunk/setup.py
===================================================================
--- Products.CMFUid/trunk/setup.py	2008-10-07 03:15:13 UTC (rev 91832)
+++ Products.CMFUid/trunk/setup.py	2008-10-07 03:17:16 UTC (rev 91833)
@@ -42,14 +42,22 @@
       include_package_data=True,
       namespace_packages=['Products'],
       zip_safe=False,
+      setup_requires=['eggtestinfo',
+                     ],
       install_requires=[
           #'Zope >= 2.10.4',
           'setuptools',
           'Products.CMFCore',
           'Products.GenericSetup',
           ],
+      tests_require=['zope.testing>=3.7.0',
+                    ],
+      test_loader='zope.testing.testrunner.eggsupport:SkipLayers',
+      test_suite='Products.%s.tests' % NAME,
       entry_points="""
       [zope2.initialize]
       Products.%s = Products.%s:initialize
+      [distutils.command]
+      ftest = zope.testing.testrunner.eggsupport:ftest
       """ % (NAME, NAME),
       )



More information about the Checkins mailing list