Source / tox.ini

# Tox ( 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.

envlist = py25, py26, py27, py31, py32, py33, pypy

commands =
    {envpython} --quiet clean develop

    # Create tests/
    # Install the egg1 egg
    # Remove the C extension so that we can test the PyTracer
    {envpython} zip_mods install_egg remove_extension

    # Test with the PyTracer
    {envpython} test_with_tracer py {posargs}

    # Build the C extension and test with the CTracer
    {envpython} --quiet build_ext --inplace
    {envpython} test_with_tracer c {posargs}

deps =

# PyPy has no C extensions
setenv =