Install texttable and harmonize the way to install.

Fix the import during the documentation build. The module is required to
generate the file feature-configuration-generated. Add a documentation
requirement file and use the sphinx-build command to build the
documentation.

Change-Id: Ia64d4edc43efcc21f4de656a89c1748fb889ba70
This commit is contained in:
Daniel Bengtsson 2019-11-06 10:07:30 +01:00
parent 0a35de776d
commit 8c6bf4ce44
2 changed files with 5 additions and 0 deletions

4
doc/requirements.txt Normal file
View File

@ -0,0 +1,4 @@
sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD
openstackdocstheme>=1.30.0 # Apache-2.0
texttable

View File

@ -46,6 +46,7 @@ commands = bindep test
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
bash -c 'python fs-matrix.py > doc/source/feature-configuration-generated.rst'
python setup.py build_sphinx