mirror of https://github.com/pypa/pip
Move requirement files to tools/requirements/
This commit is contained in:
parent
800f866600
commit
c6da85a6eb
10
tox.ini
10
tox.ini
|
@ -15,10 +15,10 @@ setenv =
|
||||||
# This is required in order to get UTF-8 output inside of the subprocesses
|
# This is required in order to get UTF-8 output inside of the subprocesses
|
||||||
# that our tests use.
|
# that our tests use.
|
||||||
LC_CTYPE = en_US.UTF-8
|
LC_CTYPE = en_US.UTF-8
|
||||||
deps = -r{toxinidir}/tools/tests-requirements.txt
|
deps = -r{toxinidir}/tools/requirements/tests.txt
|
||||||
commands_pre =
|
commands_pre =
|
||||||
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
|
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
|
||||||
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/tests-common_wheels-requirements.txt
|
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/requirements/tests-common_wheels.txt
|
||||||
commands = pytest --timeout 300 []
|
commands = pytest --timeout 300 []
|
||||||
install_command = {[helpers]pip} install {opts} {packages}
|
install_command = {[helpers]pip} install {opts} {packages}
|
||||||
list_dependencies_command = {[helpers]pip} freeze --all
|
list_dependencies_command = {[helpers]pip} freeze --all
|
||||||
|
@ -29,7 +29,7 @@ commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report
|
||||||
|
|
||||||
[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/docs-requirements.txt
|
deps = -r{toxinidir}/tools/requirements/docs.txt
|
||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
|
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
|
||||||
|
@ -50,7 +50,7 @@ commands =
|
||||||
python setup.py check -m -r -s
|
python setup.py check -m -r -s
|
||||||
|
|
||||||
[lint]
|
[lint]
|
||||||
deps = -r{toxinidir}/tools/lint-requirements.txt
|
deps = -r{toxinidir}/tools/requirements/lint.txt
|
||||||
|
|
||||||
[testenv:lint-py2]
|
[testenv:lint-py2]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
|
@ -74,7 +74,7 @@ commands =
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = -r{toxinidir}/tools/mypy-requirements.txt
|
deps = -r{toxinidir}/tools/requirements/mypy.txt
|
||||||
commands_pre =
|
commands_pre =
|
||||||
commands =
|
commands =
|
||||||
mypy src
|
mypy src
|
||||||
|
|
Loading…
Reference in New Issue