diff options
author | Antoine Musso <hashar@free.fr> | 2014-02-25 14:21:32 +0100 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2014-03-14 22:25:46 +0100 |
commit | d2ff8c098f2410f46c80e71299754b450257c962 (patch) | |
tree | f764fe10e325e1dfb40a89e11cd07c21622a8881 /tox.ini | |
parent | de4aff166f480c69900b8e0bcbf0592dcba37a5c (diff) | |
download | python-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.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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] |