Create doc/requirements.txt

For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: Ic05a55fb14741bb0802c217c81b0035b6e1f7de2
This commit is contained in:
qinglin.cheng 2017-12-19 13:33:24 +08:00 committed by Andreas Jaeger
parent 017b3477fd
commit 07bba320ae
3 changed files with 23 additions and 6 deletions

20
doc/requirements.txt Normal file
View File

@ -0,0 +1,20 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# required to build documentation
openstackdocstheme>=1.17.0 # Apache-2.0
sphinx>=1.6.2 # BSD
reno>=2.5.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
os-api-ref>=1.4.0 # Apache-2.0
testtools>=2.2.0 # MIT
WebTest>=2.0.27 # MIT
mock>=2.0.0 # BSD
freezegun>=0.3.6 # Apache-2.0
flake8-docstrings==0.2.1.post1 # MIT
oslotest>=1.10.0 # Apache-2.0
oslo.db[fixtures,mysql,postgresql]>=4.27.0 # Apache-2.0
lxml!=3.7.0,>=3.4.1 # BSD
pyldap>=2.4.20 # PSF
ldappool>=2.0.0 # MPL

View File

@ -22,8 +22,7 @@ lxml!=3.7.0,>=3.4.1 # BSD
# mock object framework
mock>=2.0.0 # BSD
oslotest>=1.10.0 # Apache-2.0
# required to build documentation
sphinx>=1.6.2 # BSD
os-api-ref>=1.4.0 # Apache-2.0
# test wsgi apps without starting an http server
WebTest>=2.0.27 # MIT
@ -31,10 +30,6 @@ WebTest>=2.0.27 # MIT
stestr>=1.0.0 # Apache-2.0
testtools>=2.2.0 # MIT
# For documentation
openstackdocstheme>=1.17.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
tempest>=17.1.0 # Apache-2.0
# Functional tests.

View File

@ -119,12 +119,14 @@ exclude=.venv,.git,.tox,build,dist,*lib/python*,*egg,tools,vendor,.update-venv,*
max-complexity=24
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
commands=
bash -c "rm -rf doc/build"
bash -c "rm -rf doc/source/api"
python setup.py build_sphinx
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:genconfig]