From 7730a5d5996b845d5cbeb736011081d9c2c23600 Mon Sep 17 00:00:00 2001
From: Chmouel Boudjnah <chmouel@enovance.com>
Date: Wed, 19 Mar 2014 09:38:03 +0100
Subject: [PATCH] Fix temporary pypy gate issue with setuptools

Adding a fix proposed in bug 1290562 to avoid continuous gate failures
because of setuptools issue reported in the bug linked above.

Temporary Fixes-bug: #1290562

Change-Id: Ia8616d1939e664fc82de030b6384acb235e5c101
---
 tox.ini | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tox.ini b/tox.ini
index 793bf5da..3226f30f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,6 +12,11 @@ deps = -r{toxinidir}/requirements.txt
        -r{toxinidir}/test-requirements.txt
 commands = python setup.py testr --testr-args="{posargs}"
 
+[testenv:pypy]
+deps = setuptools<3.2
+     -r{toxinidir}/requirements.txt
+     -r{toxinidir}/test-requirements.txt
+
 [testenv:pep8]
 commands =
     flake8 bin/swift swiftclient tests