From: zooko Date: Thu, 9 Aug 2007 17:29:03 +0000 (+0530) Subject: zfec: required version of setuptools is 0.6c6 on cygwin, 0.6a9 on other platforms X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/about/pf.html?a=commitdiff_plain;h=d7e740982f0d5863cd1daea1ca08af0d4d7558e6;p=tahoe-lafs%2Fzfec.git zfec: required version of setuptools is 0.6c6 on cygwin, 0.6a9 on other platforms darcs-hash:63f407d975f03deb20d636ac6a8b76bbc491d097 --- 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