[tox]
envlist = py26,py27,py32,py33,py34

[testenv]
deps =
    pytest
    numpy
    Cython
    Sphinx
# Note: Sphinx is required to run the sphinx.ext tests
commands = 
    python setup.py clean --all
    py.test {posargs}
sitepackages = False

[tox]
envlist = py26,py27,py32,py33,py34

[testenv]
deps =
    pytest
    numpy
    Cython
    Sphinx==1.2.3
# Note: Sphinx is required to run the sphinx.ext tests
commands = 
    py.test {posargs}
sitepackages = False

[testenv:py32]
deps = 
    pygments<=1.9
    Jinja2<2.7
    {[testenv]deps}

Fix Sphinx version to 1.2.3--otherwise it will try to install one of the 1.3 betas which are broken on Python 2. For python 3.2 fixed pygments and Jinja2 versions to ones that work with 3.2
Fix Sphinx version to 1.2.3--otherwise it will try to install one of the 1.3 betas which are broken on Python 2.  For python 3.2 fixed pygments and Jinja2 versions to ones that work with 3.2
