From d2ff8c098f2410f46c80e71299754b450257c962 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 25 Feb 2014 14:21:32 +0100 Subject: Migrate to pbr I found out pbr to be a bit nicer when it comes to edit files. AFAIK most OpenStack project are using it, so I guess Jenkins Job Builder can be pbr based as well.o Basically: * moved everything from setup.py to setup.cfg * sorted entries while at it * require pbr module using the same version limits used by Zuul * enable pbr.warnerrors * testenv.usedevelop = True or build_sphinx can not find entry points * move requirement files to root of repository (we had them in /tools/) Change-Id: I44ee8910ad4fe4eebb7337951efa31baff4281fe --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 3143822b..7b2c42e0 100644 --- a/tox.ini +++ b/tox.ini @@ -9,9 +9,10 @@ downloadcache = ~/cache/pip setenv VIRTUAL_ENV={envdir} SUBUNIT_FORMATTER=tee testr_subunit_log OS_STDOUT_NOCAPTURE=False +usedevelop = True install_command = pip install {opts} {packages} -deps = -r{toxinidir}/tools/pip-requires - -r{toxinidir}/tools/test-requires +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] -- cgit