[TIP] Tox & setup.py install_requires

Roy Wright roy at wright.org
Sat Feb 28 18:26:34 PST 2015


On Feb 28, 2015, at 7:50 PM, Tres Seaver <tseaver at palladion.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>> On 02/28/2015 08:44 PM, Donald Stufft wrote:
>> 
>> As far as I’m aware, when creating a virtual environment it will
>> install with deps, but when re-using a virtual environment it will use
>> —no-deps as an optimization.
> 
> Hmm, that isn't my memory, but maybe it has changed over time?  In any
> case, that seems like a lame pseudo-optimization:  what if I'm hacking on
> setup.py and add a new 'install_requires' dependency, after already
> running tox?
> 
> 
> Tres.

Use:

tox -r





More information about the testing-in-python mailing list