]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/commitdiff
zfec: required version of setuptools is 0.6c6 on cygwin, 0.6a9 on other platforms
authorzooko <zooko@zooko.com>
Thu, 9 Aug 2007 17:29:03 +0000 (22:59 +0530)
committerzooko <zooko@zooko.com>
Thu, 9 Aug 2007 17:29:03 +0000 (22:59 +0530)
darcs-hash:63f407d975f03deb20d636ac6a8b76bbc491d097

zfec/setup.py

index 7c39d090a00335b06f239bb149a5f0fbc277a1f4..d23927cb947db8f45d320cbfe8f75b9e1dc74757 100755 (executable)
 # 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