Small cleanups

tox.ini:
* Remove install_command, the default is fine
* Move python3 to default environment
* Remove duplicated requirements

setup.cf:
* Remove obsolete section, we never built wheels

doc/requirements.txt:
* update to newer openstackdocstheme

doc/source/conf.py
* Remove obsolete setting of html_last_updated_fmt, this is handled by
  the theme

Change-Id: Iad1c31c1359387cb602ba29c9e497a13bd155ad0
This commit is contained in:
Andreas Jaeger 2020-04-07 13:16:41 +02:00
parent 90c9987818
commit a3332ed8aa
4 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,4 @@
pbr
openstackdocstheme>=1.11.0 # Apache-2.0
openstackdocstheme>=1.32.1 # Apache-2.0
sphinx>=1.6.2 # BSD
doc8>=0.6.0 # Apache-2.0

View File

@ -34,7 +34,6 @@ extensions = ['sphinx.ext.todo',
repository_name = 'openstack/project-team-guide'
bug_project = 'openstack-manuals'
bug_tag = 'PTG'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
html_theme = 'openstackdocs'
todo_include_todos = True

View File

@ -10,7 +10,3 @@ classifier =
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
[wheel]
universal = 1

View File

@ -4,18 +4,15 @@ envlist = docs
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/doc/requirements.txt
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
doc8
sphinx-build -W -b html doc/source doc/build/html