# Tox (http://tox.testrun.org/) is a tool for running tests in
# multiple virtualenvs. This configuration file will run the test
# suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
#
# To run tox faster, check out Detox
# (https://pypi.python.org/pypi/detox), which runs your tox runs in
# parallel. To use it, "pip install detox" and then run "detox" from
# this directory.

[tox]
envlist = py26,py27,py33,pypy,docs

[testenv]
deps =
     --no-deps
     --requirement
     {toxinidir}/requirements-dev.txt
commands = paver test_all

# pytest needs argparse under Python 2.6.
[testenv:py26]
deps =
     --no-deps
     --requirement
     {toxinidir}/requirements-dev.txt
     argparse==1.2.1

[testenv:docs]
basepython = python
commands = paver doc_html

# Tox (http://tox.testrun.org/) is a tool for running tests in
# multiple virtualenvs. This configuration file will run the test
# suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
#
# To run tox faster, check out Detox
# (https://pypi.python.org/pypi/detox), which runs your tox runs in
# parallel. To use it, "pip install detox" and then run "detox" from
# this directory.

[tox]
envlist = py26,py27,py33,pypy,docs

[testenv]
deps =
     --no-deps
     --requirement
     {toxinidir}/requirements-dev.txt
commands = paver test_all

# pytest needs argparse under Python 2.6.
# ... and argparse is externally hosted.
[testenv:py26]
deps =
     --no-deps
     --requirement
     {toxinidir}/requirements-dev.txt
     --allow-external
     argparse==1.2.1

[testenv:docs]
basepython = python
commands = paver doc_html

Allow pip to find external downloads.
Allow pip to find external downloads.

C'mon argparse...
