[TIP] [Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them
chris at simplistix.co.uk
Thu Mar 11 07:47:32 PST 2010
P.J. Eby wrote:
> At 01:34 PM 3/11/2010 +0000, Chris Withers wrote:
>> When I last tried using setuptools test_require stuff (in a buildout
>> driven pylons app, iirc) I ended up with the resulting eggs dumped in
>> the root of my buildout and no, the ddn't go away at the end of the
>> test run...
> Interesting. Must be an artifact of how buildout calls things, then,
> because setuptools drops them to the *current* directory, under
> circumstances that assume it's running in the setup.py directory.
It is, but for a develop egg, that's your checkout, and that's where the
testing dependency eggs get dumped!
Simplistix - Content Management, Batch Processing & Python Consulting
More information about the testing-in-python