From: zooko Date: Wed, 17 Jun 2009 18:02:01 +0000 (+0530) Subject: setup: require setuptools >= 0.6c9 on Windows, but >= 0.6c6 on other platforms X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/frontends/architecture.txt?a=commitdiff_plain;h=8c49a759889893cd452f2822f075ca2fe3e43bf5;p=tahoe-lafs%2Fzfec.git setup: require setuptools >= 0.6c9 on Windows, but >= 0.6c6 on other platforms Ignore-this: d7b4ee5dd9aa45b7381224e5904d7266 Hopefully this will allow stdeb to work on all Debian derived platforms while also working around that problem that showed itself on Windows with setuptools 0.6c7. darcs-hash:1b7c0693b82f9c192dc591f35fa6a26c3ae1ea43 --- diff --git a/zfec/setup.py b/zfec/setup.py index a2f64b3..938ca2a 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -18,7 +18,16 @@ try: except ImportError: pass else: - use_setuptools(min_version='0.6c9', download_delay=0, to_dir=miscdeps) + if sys.platform.lower().startswith('win'): + # 0.6c7 on Windows had a problem with multiple overlapping dependencies + # on pyutil -- it would end up with the 'pyutil' key set in sys.modules + # but the actual code (and the temporary directory in the filesystem in + # which the code used to reside) gone, when it needed pyutil again + # later. + min_version='0.6c9' + else: + min_version='0.6c6' + use_setuptools(min_version=min_version, download_delay=0, to_dir=miscdeps) from setuptools import Extension, find_packages, setup