Stop install unnecessary packages when run tox -edocs
requirements.txt is unnecessary when run tox -e docs, docs relative stuffs is in doc/requirements.txt, this ps to remove the requirements.txt from tox.ini Change-Id: I69b5a12128669de877a27fbbd09ffde8d8149508
This commit is contained in:
1
tox.ini
1
tox.ini
@@ -26,7 +26,6 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|
||||
|
||||
|
Reference in New Issue
Block a user