25 Aug
2009
25 Aug
'09
4:03 p.m.
Jim Fulton wrote:
On Tue, Aug 11, 2009 at 8:02 AM, Martijn Faassen<faassen@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