Technically, we could get away with v0.6c5 or v0.6c4 on non-cygwin platforms, but if someone currently doesn't have setuptools >= v0.6c6 installed then our setup process will just use our bundled setuptools v0.6c7 anyway, so it will still work, and this makes the setup.py and the accompanying documentation simpler.
except ImportError:
pass
else:
- if 'cygwin' in sys.platform.lower():
- min_version='0.6c6'
- else:
- # foolscap uses a module-level os.urandom() during import, which
- # breaks inside older setuptools' sandboxing. 0.6c4 is the first
- # version which fixed this problem.
- min_version='0.6c4'
+ # foolscap uses a module-level os.urandom() during import, which breaks
+ # inside older setuptools' sandboxing. 0.6c4 is the first version which
+ # fixed this problem. On cygwin there was a different problem -- a
+ # permissions error -- that was fixed in 0.6c6.
+ min_version='0.6c6'
download_base = "file:"+os.path.join('misc', 'dependencies')+os.path.sep
use_setuptools(min_version=min_version,
download_base=download_base,