mirror of https://github.com/pypa/pip
Move docs requirements to docs/
This makes the file easier to locate, by placing it next to the stuff that it will affect.
This commit is contained in:
parent
5e86264b5a
commit
25af8e5f36
|
@ -7,4 +7,4 @@ sphinx:
|
||||||
python:
|
python:
|
||||||
version: 3.8
|
version: 3.8
|
||||||
install:
|
install:
|
||||||
- requirements: tools/requirements/docs.txt
|
- requirements: docs/requirements.txt
|
||||||
|
|
|
@ -10,6 +10,7 @@ recursive-include src/pip/_vendor *LICENSE*
|
||||||
recursive-include src/pip/_vendor *COPYING*
|
recursive-include src/pip/_vendor *COPYING*
|
||||||
|
|
||||||
include docs/docutils.conf
|
include docs/docutils.conf
|
||||||
|
include docs/requirements.txt
|
||||||
|
|
||||||
exclude .coveragerc
|
exclude .coveragerc
|
||||||
exclude .mailmap
|
exclude .mailmap
|
||||||
|
|
|
@ -24,7 +24,7 @@ LOCATIONS = {
|
||||||
"protected-pip": "tools/tox_pip.py",
|
"protected-pip": "tools/tox_pip.py",
|
||||||
}
|
}
|
||||||
REQUIREMENTS = {
|
REQUIREMENTS = {
|
||||||
"docs": "tools/requirements/docs.txt",
|
"docs": "docs/requirements.txt",
|
||||||
"tests": "tools/requirements/tests.txt",
|
"tests": "tools/requirements/tests.txt",
|
||||||
"common-wheels": "tools/requirements/tests-common_wheels.txt",
|
"common-wheels": "tools/requirements/tests-common_wheels.txt",
|
||||||
}
|
}
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -48,7 +48,7 @@ setenv =
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
# Don't skip install here since pip_sphinxext uses pip's internals.
|
# Don't skip install here since pip_sphinxext uses pip's internals.
|
||||||
deps = -r{toxinidir}/tools/requirements/docs.txt
|
deps = -r{toxinidir}/docs/requirements.txt
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -j auto -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
|
sphinx-build -W -j auto -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
|
||||||
|
|
Loading…
Reference in New Issue