[TIP] [tox] how to specify which "extras" to install when testing my package
Ronny.Pfannschmidt at gmx.de
Tue Dec 13 01:13:20 PST 2011
On 12/13/2011 08:34 AM, Chris Withers wrote:
> On 13/12/2011 07:20, holger krekel wrote:
>>> In order to run the tests, I need to install with a setuptools
>>> "extras" requirements such as:
>>> easy_install testfixtures[test]
>>> How do I do that with Tox?
>> As a hack you could try to list this install command in
>> a "commands" section.
> The hack I was going to try was specifying "testfixtures[test]" in the
> deps section. Would that work?
no, pip doesn't support them, and there are no plans to support them,
since distutils2/packaging will not have extra requirements at all
>> A more proper fix is to introduce
>> the customization of install commands, see also the other
>> related recent TIP thread started by Andrew Dalke.
> *nods* Are the changes discussed there likely to happen soon?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the testing-in-python