From: zooko <zooko@zooko.com>
Date: Sun, 1 Aug 2010 06:23:01 +0000 (+0530)
Subject: setup: setup requires setuptools_trial if it is to be run as the alias for "python... 
X-Git-Url: https://git.rkrishnan.org/specifications/components/com_hotproperty/frontends/htmlfontify-example.html?a=commitdiff_plain;h=2eb4e896bcd1426cd1a06a40b00d30b4aa94e67b;p=tahoe-lafs%2Fzfec.git

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
---

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: