1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tox.ini
Marc Abramowitz ce3ceb7bd1 Move dev reqs from tox.ini to dev-requirements.txt
Then folks who don't use tox can do `pip install -r
dev-requirements.txt`

Since this is pip, which created the idea of requirements files, it
seems nice for the project to have one to showcase the idea.

Also cleaned up the tox.ini and made it more compact (fits now on my
laptop screen) and consistent.
2014-12-17 23:36:29 -08:00

34 lines
723 B
INI

[tox]
envlist = docs, packaging, pep8, py3pep8, py26, py27, py32, py33, py34, pypy
[testenv]
deps = -r{toxinidir}/dev-requirements.txt
commands = py.test --timeout 300 []
install_command = python -m pip install --pre {opts} {packages}
[testenv:py26]
install_command = pip install --pre {opts} {packages}
[testenv:docs]
deps = sphinx
basepython = python2.7
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:packaging]
deps = check-manifest
commands = check-manifest
[testenv:pep8]
basepython = python2.7
deps = flake8
commands = flake8 .
[testenv:py3pep8]
basepython = python3.3
deps = flake8
commands = flake8 .
[flake8]
exclude = .tox,*.egg,build,_vendor,data
select = E,W,F