# A tox configuration file to test across multiple Python versions. # # http://pypi.python.org/pypi/tox # [tox] envlist = py32,py31,py27,py26,py25,py24 [testenv] deps = # Distribute works with Python 2.3.5 and above: # http://packages.python.org/distribute/setuptools.html#building-and-distributing-packages-with-distribute distribute commands = python setup.py --quiet test # We use nosetests for older versions of Python to find doctests because # the load_tests protocol (which we use for finding doctests when using # Distribute's `test`) was not introduced until Python 2.7. [testenv:py26] deps = nose commands = python setup.py --quiet nosetests [testenv:py25] deps = nose commands = python setup.py --quiet nosetests [testenv:py24] deps = nose commands = python setup.py --quiet nosetests