small tox fixes

* remove py26: it no longer used in gates, and fails the tests on:

    (dt.datetime.now() - time_before).total_seconds(),
    AttributeError: 'datetime.timedelta' object has no
    attribute'total_seconds'`

* don't generate __pycache__ folders

Change-Id: Ifce1e77012bc3be7785597ab84b998209b866ae8
This commit is contained in:
Dmitri Zimine 2015-01-09 18:36:59 -08:00
parent 58da57330a
commit 533fdbb546

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py26,py27,py33,py34,pep8 envlist = py27,py33,py34,pep8
minversion = 1.6 minversion = 1.6
skipsdist = True skipsdist = True
@ -8,6 +8,7 @@ sitepackages = True
usedevelop = True usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages} install_command = pip install -U --force-reinstall {opts} {packages}
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =