From c1b1bb7a38d5e5bce795623f12c6ac7c78f1fd4b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 19 Sep 2013 06:56:30 -0700 Subject: [PATCH] Update tox to use develop and custom pip command The use_develop option saves time over the sdist/install. More importantly, install_command allows us to override tox's default behavior of passing --pre. Change-Id: Ifb8fc877aa23db38310777912aa6d914ae040178 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 23a4675..f70e4ce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,11 @@ [tox] -distribute = False +minversion = 1.6 +skipsdist = True envlist = py26,py27,py33,pep8,pypy [testenv] +usedevelop = True +install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en