From 2eb4e896bcd1426cd1a06a40b00d30b4aa94e67b Mon Sep 17 00:00:00 2001
From: zooko <zooko@zooko.com>
Date: Sun, 1 Aug 2010 11:53:01 +0530
Subject: [PATCH] setup: setup requires setuptools_trial if it is to be run as
 the alias for "python setup.py test"

Ignore-this: ebd855cdffc76de8bc7b89a866ffea67

darcs-hash:4f2ee7744414acd3410fd21d7c0234aa3885d0db
---
 zfec/setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/zfec/setup.py b/zfec/setup.py
index b93dcb4..e72f66d 100755
--- a/zfec/setup.py
+++ b/zfec/setup.py
@@ -125,7 +125,8 @@ setup_requires.append('setuptools_darcs >= 1.1.0')
 if "--reporter=bwverbose-coverage" in sys.argv:
     tests_require.append('trialcoverage >= 0.3.3')
     tests_require.append('twisted >= 2.4.0')
-    tests_require.extend(['setuptools_trial >= 0.5'])
+    tests_require.append('setuptools_trial >= 0.5')
+    setup_requires.append('setuptools_trial >= 0.5')
 
 # stdeb is required to build Debian dsc files.
 if "sdist_dsc" in sys.argv:
-- 
2.45.2