Commit 574ab386 authored by Tres Seaver's avatar Tres Seaver

Get tests running using 'python setup.py test ftest'.

parent ac25989c
...@@ -42,14 +42,22 @@ setup(name='Products.%s' % NAME, ...@@ -42,14 +42,22 @@ setup(name='Products.%s' % NAME,
include_package_data=True, include_package_data=True,
namespace_packages=['Products'], namespace_packages=['Products'],
zip_safe=False, zip_safe=False,
setup_requires=['eggtestinfo',
],
install_requires=[ install_requires=[
#'Zope >= 2.10.4', #'Zope >= 2.10.4',
'setuptools', 'setuptools',
'Products.CMFCore', 'Products.CMFCore',
'Products.GenericSetup', 'Products.GenericSetup',
], ],
tests_require=['zope.testing>=3.7.0',
],
test_loader='zope.testing.testrunner.eggsupport:SkipLayers',
test_suite='Products.%s.tests' % NAME,
entry_points=""" entry_points="""
[zope2.initialize] [zope2.initialize]
Products.%s = Products.%s:initialize Products.%s = Products.%s:initialize
[distutils.commands]
ftest = zope.testing.testrunner.eggsupport:ftest
""" % (NAME, NAME), """ % (NAME, NAME),
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment