[tox]

[testenv:py26]
basepython = python2.6

[testenv:py27]
basepython = python2.7

# Oldest sensitive dependencies supported with WAL-E 0.7.
[testenv:0.7-oldest]
basepython = python2.6
deps =
    boto==2.6.0
    azure==0.7.0
    python-swiftclient==1.8.0
    python-keystoneclient==0.4.2
    gevent==0.13.1
    {[base]deps}

[base]
deps =
    pytest
    pytest-capturelog
    pytest-cov
    pytest-flakes
    pytest-pep8
    pytest-xdist

[testenv]
deps = {[base]deps}
commands =
    python setup.py develop
    py.test                     \
    --flakes                    \
    --pep8                      \
    --basetemp={envtmpdir}      \
    --confcutdir=..             \
    []

[tox]
skipsdist=True

[testenv:py26]
basepython = python2.6

[testenv:py27]
basepython = python2.7

# Oldest sensitive dependencies supported with WAL-E 0.7.
[testenv:0.7-oldest]
basepython = python2.6
deps =
    boto==2.6.0
    azure==0.7.0
    python-swiftclient==1.8.0
    python-keystoneclient==0.4.2
    gevent==0.13.1
    {[base]deps}

[base]
deps =
    pytest
    pytest-capturelog
    pytest-cov
    pytest-flakes
    pytest-pep8
    pytest-xdist

[testenv]
deps = {[base]deps}
commands =
    pip install -e .
    py.test                     \
    --flakes                    \
    --pep8                      \
    --basetemp={envtmpdir}      \
    --confcutdir=..             \
    []

Use pip instead of default sdist
Use pip instead of default sdist

Before, OpenStack dependencies would cause obscure crashes when
setting up virtual environments because "python setup.py develop" is
not supported on account of its easy_install use.  The OpenStack
maintainers show negative interest in fixing that.
