if 'cygwin' in sys.platform.lower():
min_version='0.6c6'
else:
- min_version='0.6a9'
-use_setuptools(min_version=min_version, download_base="file:misc/dependencies/")
+ # 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'
+use_setuptools(min_version=min_version,
+ download_base="file:misc/dependencies/",
+ download_delay=0)
from setuptools import setup
if 'cygwin' in sys.platform.lower():
min_version='0.6c6'
else:
- min_version='0.6a9'
- use_setuptools(min_version=min_version, download_base="file:misc/dependencies/", download_delay=0)
+ # 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'
+ use_setuptools(min_version=min_version, download_delay=0,
+ download_base="file:misc/dependencies/",
+ download_delay=0)
from setuptools import Extension, find_packages, setup