Added virtual env to the tox.ini so the push to pypi will work correctly

Change-Id: I793a384cbba604c6c543c524c6c32217c590346a
This commit is contained in:
Tim Kuhlman 2014-07-17 09:55:00 -06:00
parent e6e54c6576
commit aab28f8138
1 changed files with 7 additions and 1 deletions

View File

@ -3,13 +3,19 @@ envlist = py27,pypy,pep8
skipsdist = True
[testenv]
commands = nosetests
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[tox:jenkins]
downloadcache = ~/cache/pip