summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-02-25 14:21:32 +0100
committerAntoine Musso <hashar@free.fr>2014-03-14 22:25:46 +0100
commitd2ff8c098f2410f46c80e71299754b450257c962 (patch)
treef764fe10e325e1dfb40a89e11cd07c21622a8881 /tox.ini
parentde4aff166f480c69900b8e0bcbf0592dcba37a5c (diff)
downloadpython-jenkins-job-builder-d2ff8c098f2410f46c80e71299754b450257c962.tar.gz
python-jenkins-job-builder-d2ff8c098f2410f46c80e71299754b450257c962.tar.xz
python-jenkins-job-builder-d2ff8c098f2410f46c80e71299754b450257c962.zip
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
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]