system-config/tox.ini
Jeremy Stanley ec00f2981f Make sure pip upgrades itself in tox
* tox.ini: Upgrade pip within tox virtualenvs for
openstack-infra/config. Without doing this, tox uses the system pip
version within the constructed virtualenv, and may inadvertently
pull in prerelease versions of dependencies from PyPI. Note that the
option used requires tox 1.6 or newer.

Change-Id: Ie5276a4437e72c5f5a8d1ecf5a7c07977fa5bd77
2013-09-18 14:49:18 +00:00

21 lines
371 B
INI

[tox]
minversion = 1.6
envlist = pyflakes,pep8
[testenv]
install_command = pip install -U {opts} {packages}
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes modules setup.py
[testenv:pep8]
deps = pep8
commands = pep8 --count --repeat --show-source --exclude=.tox setup.py
[testenv:venv]
commands = {posargs}
deps = Sphinx
docutils==0.9.1
oslo.sphinx