[Zope-dev] zope.testbrowser.testing.Browser has undefined dependencies

Chris Withers chris at simplistix.co.uk
Thu Aug 21 05:16:25 EDT 2008


Hi All,

I'm just starting to play with zope.testbrowser's testing.Browser but I 
notice that is uses the following packages:

transaction
zope.app.testing
zope.app.folder
zope.app.component

...but zope.testbrowser doesn't declare any dependency on these.

It probably should in some way, but I can see why it doesn't currently, 
give nthat there are likely lots of zope.testbrowser users who have to 
interested in zope.testbrowser.testing.Browser.

Is this something that we can solve with:
http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies

If it is, I guess we would add an extra_requires to zoep.testbrowser's 
setup.py with the packages listed above?

Would the following then work in a buildout:

[test]
recipe = zc.recipe.testrunner

eggs =
     mypackage
     zope.testbrowser[testing.Browser]

?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list