![Andreas Jaeger](/assets/img/avatar_default.png)
Make a few cleanups: - Remove obsolete sections from setup.cfg - Update requirements, no need for python_version anymore - Remove install_command from tox.ini, the default is fine. Change-Id: Iecc1931e93b2254b7b3c95ba1daafd32db204754
32 lines
787 B
INI
32 lines
787 B
INI
[tox]
|
|
minversion = 3.1.1
|
|
envlist = docs,py37
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = stestr run --slowest {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
|
-r{toxinidir}/requirements.txt
|
|
commands = sphinx-build -W -E -b html -d doc/build/doctrees doc/source doc/build/html
|
|
|
|
[testenv:doc8]
|
|
deps = -r{toxinidir}/requirements.txt doc8
|
|
commands = doc8 doc/source
|
|
|
|
[testenv:autobuild]
|
|
whitelist_externals =
|
|
sphinx-autobuild
|
|
commands =
|
|
sphinx-autobuild --watch specs --open-browser doc/source doc/build
|