From d7e740982f0d5863cd1daea1ca08af0d4d7558e6 Mon Sep 17 00:00:00 2001
From: zooko <zooko@zooko.com>
Date: Thu, 9 Aug 2007 22:59:03 +0530
Subject: [PATCH] zfec: required version of setuptools is 0.6c6 on cygwin,
 0.6a9 on other platforms

darcs-hash:63f407d975f03deb20d636ac6a8b76bbc491d097
---
 zfec/setup.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/zfec/setup.py b/zfec/setup.py
index 7c39d09..d23927c 100755
--- a/zfec/setup.py
+++ b/zfec/setup.py
@@ -20,7 +20,12 @@
 # http://allmydata.com/.
 
 from ez_setup import use_setuptools
-use_setuptools(min_version='0.6a9')
+import sys
+if 'cygwin' in sys.platform.lower():
+    min_version='0.6c6'
+else:
+    min_version='0.6a9'
+use_setuptools(min_version=min_version)
 
 from setuptools import Extension, find_packages, setup
 
-- 
2.45.2