From 60bb0acc557129336bd8c9bf07664188fa551bdf Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 26 Mar 2015 18:09:57 -0400 Subject: [PATCH] add tox.ini file Provide tox configuration to make it easy to run tests locally against different python environments without have to install dependencies into the system. The default env is left at py27 only for compatibility, however tox -e py33 and tox -e py34 will work fine with this in place. --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..a705865 --- /dev/null +++ b/tox.ini @@ -0,0 +1,12 @@ +[tox] +envlist = py27 +minversion = 1.6 +skipsdist = True + +[testenv] +usedevelop = True +install_command = pip install -U {opts} {packages} +setenv = VIRTUAL_ENV={envdir} +whitelist_externals = make +deps = -r{toxinidir}/requirements.txt +commands = make check