[Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Baiju M wrote: > Chris McDonough wrote: >> Is there an equivalent for "tests_require" in >> buildout.cfg/zc.recipe.testrunner? >> >> The reason I ask is this... currently the zope.18n distribution has >> an install_requires that looks something lik

[Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > You are correct: I was misled by the presence of the section for the > 'tests' extra. Attached find a patch against the setuptools-0.6 branch > which addes a 'tests_require.txt' file entry point. I will propose that > the patch

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > On Nov 15, 2007, at 9:35 AM, Tres Seaver wrote: > ... >> Chris is not advocating switching away from zc.buildout for the >> *development* of the packages; he is arguing that we can't force >> people >> who *use* the packages to s

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Wichert Akkerman
Previously Fred Drake wrote: > On Nov 15, 2007 9:35 AM, Tres Seaver <[EMAIL PROTECTED]> wrote: > > - Making sure that the tests can psss for somebody who is not a > >core Zope developer, (and therefore who doesn't know about > >zc.buildout, or want to). E.g.: > > > > $ /path/to/python

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > On Nov 15, 2007, at 10:52 AM, Tres Seaver wrote: > ... >>> Gr. I find "setup.py test" to be really annoying as it requires >>> meta data that is available only to that command. >> Not after running 'egg_info', or any other setup

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Dieter Maurer
Jim Fulton wrote at 2007-11-15 10:28 -0500: > ... >Agreed. I'll note that there is a school of thought that I proposed >but am somewhat ambivalent about that anything required by tests >should also be required by install. This is in accordance with "fly >what you test, test what you fly." To

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Chris McDonough
On Nov 15, 2007, at 12:44 PM, Dieter Maurer wrote: Jim Fulton wrote at 2007-11-15 10:28 -0500: ... Agreed. I'll note that there is a school of thought that I proposed but am somewhat ambivalent about that anything required by tests should also be required by install. This is in accordance with

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Fred Drake
On Nov 15, 2007 9:35 AM, Tres Seaver <[EMAIL PROTECTED]> wrote: > - Making sure that the tests can psss for somebody who is not a >core Zope developer, (and therefore who doesn't know about >zc.buildout, or want to). E.g.: > > $ /path/to/python setup.py develop > $ /path/to/python

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Jim Fulton
On Nov 15, 2007, at 10:52 AM, Tres Seaver wrote: ... Gr. I find "setup.py test" to be really annoying as it requires meta data that is available only to that command. Not after running 'egg_info', or any other setuptools-aware command; the tests_require dependencies then become introspecta

Re: [Zope-dev] Re: buildout "tests_require" analogue

2007-11-15 Thread Jim Fulton
On Nov 15, 2007, at 9:35 AM, Tres Seaver wrote: ... Chris is not advocating switching away from zc.buildout for the *development* of the packages; he is arguing that we can't force people who *use* the packages to stop using the facilities supplied setuptools. Agreed, If we want people o