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

holger krekel holger at merlinux.eu
Mon Dec 12 23:20:40 PST 2011


Hi Chris,

On Mon, Dec 12, 2011 at 19:50 +0000, Chris Withers wrote:
> Hi All,
> 
> Although I use buildout to develop my packages, I'm hoping to use
> Tox to test that the packages work with all versions of Python and
> on all supported platforms.
> 
> 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.  A more proper fix is to introduce 
the customization of install commands, see also the other 
related recent TIP thread started by Andrew Dalke.

holger

> cheers,
> 
> Chris
> 
> -- 
> Simplistix - Content Management, Batch Processing & Python Consulting
>             - http://www.simplistix.co.uk
> 
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
> 



More information about the testing-in-python mailing list