From 8ec38163ae62c90ba4914f6cd770d3ffc6743729 Mon Sep 17 00:00:00 2001
From: zooko <zooko@zooko.com>
Date: Sun, 5 Dec 2010 00:36:08 +0530
Subject: [PATCH] setup: comment-out the setup_requires on setuptools_darcs to
 work-around a distribute/ubuntu bug

Ignore-this: 8ea3b82c5d604cd3779680768de615be

darcs-hash:df4b4f172309384ee31f58c76889eb8c67f0828a
---
 zfec/setup.py | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/zfec/setup.py b/zfec/setup.py
index f3474d9..f82e9a3 100755
--- a/zfec/setup.py
+++ b/zfec/setup.py
@@ -114,11 +114,18 @@ tests_require.append("pyutil >= 1.3.19")
 # http://pypi.python.org/pypi/darcsver
 setup_requires.append('darcsver >= 1.2.0')
 
-# setuptools_darcs is required to produce complete distributions (such as with
-# "sdist" or "bdist_egg"), unless there is a zfec.egg-info/SOURCE.txt file
-# present which contains a complete list of files that should be included.
-# http://pypi.python.org/pypi/setuptools_darcs
-setup_requires.append('setuptools_darcs >= 1.1.0')
+# setuptools_darcs is required to produce complete distributions (such
+# as with "sdist" or "bdist_egg"), unless there is a
+# zfec.egg-info/SOURCE.txt file present which contains a complete
+# list of files that should be included.
+# http://pypi.python.org/pypi/setuptools_darcs However, requiring it
+# runs afoul of a bug in Distribute, which was shipped in Ubuntu
+# Lucid, so for now you have to manually install it before building
+# sdists or eggs:
+# http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
+if False:
+    setup_requires.append('setuptools_darcs >= 1.1.0')
+
 
 setup_requires.append('setuptools_trial >= 0.5')
 
-- 
2.45.2