[TIP] [tox] how to specify which "extras" to install when testing my package
chris at simplistix.co.uk
Mon Dec 12 23:34:58 PST 2011
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?
> 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?
Simplistix - Content Management, Batch Processing & Python Consulting
More information about the testing-in-python