Pillow/tox.ini
Marc Abramowitz 01917a4faf Make things more Python 3 friendly. Python 3 still doesn't work because
of C code that doesn't compile with Python 3.
2012-06-12 13:48:27 -07:00

23 lines
613 B
INI

# 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.
[tox]
envlist = py25, py26, py27, py32, pypy
[testenv]
commands =
{envpython} setup.py clean
rm -rf build dist
{envpython} setup.py install
{envpython} selftest.py
[testenv:py32]
commands =
{envpython} setup.py clean
rm -rf build dist
{envpython} setup.py install
2to3 -w -n -o . --add-suffix=3 selftest.py
{envpython} selftest.py3