[Distutils] Fwd: The fate of Distutils in Python 2.7

2010-02-26 Thread Tarek Ziadé
FIY (I didn't cross-post to make it easier for following the threads) -- Forwarded message -- From: Tarek Ziadé Date: Fri, Feb 26, 2010 at 10:44 PM Subject: The fate of Distutils in Python 2.7 To: Python-Dev Hello, This is a follow-up of the Pycon summit + sprints on packagin

Re: [Distutils] [TIP] Guidelines for where to put tests & how to package them

2010-02-26 Thread P.J. Eby
At 02:27 PM 2/26/2010 -0500, Olemis Lang wrote: test_suite is ( supported | introduced | defined ) by setuptools.comand.test.test class > Is it required to be a > callable yep No. test_suite is to be an object recognized by the test_loader as convertible to a unittest TestSuite. For exampl

Re: [Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them

2010-02-26 Thread P.J. Eby
At 11:19 AM 2/26/2010 -0500, Olemis Lang wrote: On Fri, Feb 26, 2010 at 10:52 AM, P.J. Eby wrote: > At 10:16 AM 2/26/2010 -0500, Olemis Lang wrote: >> >> Well not as happily as I thought in first place. The fact is that >> `setuptools` test command creates the runner by calling the class >> spec

Re: [Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them

2010-02-26 Thread Olemis Lang
On Fri, Feb 26, 2010 at 10:52 AM, P.J. Eby wrote: > At 10:16 AM 2/26/2010 -0500, Olemis Lang wrote: >> >> Well not as happily as I thought in first place. The fact is that >> `setuptools` test command creates the runner by calling the class >> specified in `test_runner` arg but supplies no paramet

Re: [Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them

2010-02-26 Thread P.J. Eby
At 10:16 AM 2/26/2010 -0500, Olemis Lang wrote: Well not as happily as I thought in first place. The fact is that `setuptools` test command creates the runner by calling the class specified in `test_runner` arg but supplies no parameters. In this case I'd like to specify `xmlrunner:XMLTestRunner`

Re: [Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them

2010-02-26 Thread Olemis Lang
On Thu, Feb 25, 2010 at 12:36 PM, Olemis Lang wrote: > On Thu, Feb 25, 2010 at 12:29 PM, P.J. Eby wrote: >> At 12:10 PM 2/25/2010 -0500, Olemis Lang wrote: >>> >>> Thnx for your reply ! >>> >>> On Thu, Feb 25, 2010 at 12:00 PM, P.J. Eby wrote: >>> > At 10:41 AM 2/25/2010 -0500, Olemis Lang wrote

[Distutils] zc.buildout - order of extends processing

2010-02-26 Thread Martin Aspeli
Hi, In my quest to make re-usable buildout components, I've started using a pattern like this: In a server-specific buildout file (e.g. prod-web-master.cfg) I have e.g.: [buildout] extends = buildout.d/base.cfg buildout.d/zope.cfg buildout.d/relstorage.cfg buildout.d/haproxy.c