[Zope-dev] SVN: zope.publisher/trunk/ Moved dependency on zope.testing from install_requires to tests_require.

Martijn Faassen faassen at startifact.com
Tue Aug 25 12:03:19 EDT 2009


Jim Fulton wrote:
> On Tue, Aug 11, 2009 at 8:02 AM, Martijn Faassen<faassen at startifact.com> wrote:
[snip]
>> Ah, that's cool. I take it it's not yet possible to do without the test
>> extra entirely and let buildout rely on the test_require section? That
>> way we could do without duplication.
> 
> That's what Tres' setuptools plugin allows. It seems to me to be less
> work to just repeat the information. Even then, you don't really have
> to repeat it.
> You can define the test requirements as a module-level variable and
> then refer to the variable in both tests_require and the extras
> definition.

Sure, but someone needs to document it, otherwise this practice will 
never be adopted. Any progress on that?

Regards,

Martijn




More information about the Zope-Dev mailing list