On Wednesday 14 November 2007, Chris McDonough wrote:
> That's actually a no-good pack of lies, though. ;-)  I'd like to  
> change setup.py to something like this:
>
>      test_suite = "__main__.alltests", # to support "setup.py test"
>      tests_require=[
>               'zope.testing',
>               'pytz',
>               'zope.component [zcml]',
>               'zope.configuration',
>               ],
>      install_requires=[
>               'setuptools',
>               'pytz',
>               'zope.i18nmessageid',
>               'zope.component',
>               # *we* do not require zope.configuration at all. Our tests
>               # do (for silly reasons) and the framework which uses  
> our zcml
>               # does.
>               ],
>
> But I want buildout tests to continue to work.  I suspect the rest of  
> this discussion is going to hurt. ;-)

Right now we are using extra_requires that has the "test" key, which we 
specify for the test runner. We have discussed using tests_require before, 
but this would need some new software in buildout. I would *love* to see this 
implemented.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to