* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were introduced originally during the testr migration in an attempt to be conservative about the possibility that locale settings in the calling environment could cause consistency problems for test runs. In actuality, this should be unnecessary and any place where it does cause issues ought to be considered an actual bug. Also, having these in the configuration actively causes older pip to have problems with non-ASCII content in some package metadata files under Python 3, so drop it now. Change-Id: Ie399248ec210966a57e7ef6354b6664fa48ef334 Closes-Bug: #1277495
15 lines
265 B
INI
15 lines
265 B
INI
[tox]
|
|
envlist = pep8
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
sitepackages = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
usedevelop = True
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
deps = -r{toxinidir}/test-requirements.txt
|