[Distutils] RFC: Barely minimal CI + tests + packaging in Python WAS: Guidelines for where to put tests & how to package them
pje at telecommunity.com
Thu Mar 11 16:45:55 CET 2010
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. If
buildout is calling it *programmatically*, then all bets are off;
it's effectively buildout's responsibility to set the current
directory appropriately before invoking the test command (or any
other setup command, for that matter).
More information about the Distutils-SIG