[TIP] [tox] how to specify which "extras" to install when testing my package

Ronny Pfannschmidt 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?
> cheers,
> Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20111213/edeffd4e/attachment.pgp>

More information about the testing-in-python mailing list