performance-docs/tox.ini
Yuriy Taraday cfb02a66d3 Add --ignore-installed to pip install in tox.ini
This should overcome problem with system argparse in gate. Note that it
is safe to do because we don't use any system python packages anyway.

Change-Id: Id59a133821e176ad2bffcc5e9c1812a7eb2ab621
2016-01-21 16:08:17 +03:00

28 lines
753 B
INI

[tox]
envlist = docs,py27
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
# --ignore-installed is added to workaround problem with pip 8.0 and argparse
# https://github.com/pypa/pip/issues/3404 and
# https://github.com/pypa/pip/issues/3384
install_command = pip install --ignore-installed -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
commands =
python setup.py test --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands =
sphinx-build -b html doc/source/ doc/build/html
sphinx-build -b latex doc/source/ doc/build/latex
sphinx-build -b pdf doc/source/ doc/build/pdf