setup: require setuptools >= v0.6c6 on all platforms

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.
This commit is contained in:
Zooko O'Whielacronx 2008-01-10 14:02:13 -07:00
parent 80adf18fcc
commit e07f9c27c2

View File

@ -17,13 +17,11 @@ try:
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,