1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

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:
Pradyun Gedam 2021-07-24 12:01:27 +01:00
parent 5e86264b5a
commit 25af8e5f36
No known key found for this signature in database
GPG key ID: FF99710C4332258E
5 changed files with 4 additions and 3 deletions

View file

@ -7,4 +7,4 @@ sphinx:
python:
version: 3.8
install:
- requirements: tools/requirements/docs.txt
- requirements: docs/requirements.txt

View file

@ -10,6 +10,7 @@ recursive-include src/pip/_vendor *LICENSE*
recursive-include src/pip/_vendor *COPYING*
include docs/docutils.conf
include docs/requirements.txt
exclude .coveragerc
exclude .mailmap

View file

@ -24,7 +24,7 @@ LOCATIONS = {
"protected-pip": "tools/tox_pip.py",
}
REQUIREMENTS = {
"docs": "tools/requirements/docs.txt",
"docs": "docs/requirements.txt",
"tests": "tools/requirements/tests.txt",
"common-wheels": "tools/requirements/tests-common_wheels.txt",
}

View file

@ -48,7 +48,7 @@ setenv =
[testenv:docs]
# 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
commands =
sphinx-build -W -j auto -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html