[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Nov 2 10:23:02 EDT 2007


On Friday 02 November 2007, Benji York wrote:
> Stephan Richter wrote:
> > On Friday 02 November 2007, Benji York wrote:
> >> Why the test extra?
> >
> > to get it working. :-) There were several packages required by
> > ftesting.zcml.
>
> We generally put those in install_requires and eschew extras.

zope.file was the *only* package of the 150+ I worked on that did not have 
extras. If this changes, I want a canconical community decision with someone 
writing a script fixing it everywhere for the next releases.

I know why extras are bad, Jim explained it to me. I would still argue that we 
need them (for tests only, of course!!!!). For example, the zope.file tests 
require zope.app.zcmlfiles, which effectively pulls in 70 packages, including 
the entire ZMI, Rotterdam, and old form framework. But what if I do not want 
to install ZMI, Rotterdam and the old form stuff and just use the API of 
zope.file?

I think that extras for tests are a necessary evil until we have unscrewed the 
dependencies of the functional test setups.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope-Dev mailing list