On 10/21/06, Joshua Boverhof <[EMAIL PROTECTED]> wrote: > 4Suite is listed as one of my project's setuptools > "install_requires", but when I attempt to install on Mac OSX-10.4.8 > using python-2.5 I get an error: > > > """ > Reading http://www.python.org/pypi/4Suite-XML/1.0 > Best match: 4Suite-XML 1.0 > Downloading http://cheeseshop.python.org/packages/source/4/4Suite-XML/ > 4Suite-XML-1.0.zip#md5=0b61c214cd03ecb2f673b52b316c0a84 > Processing 4Suite-XML-1.0.zip > Running 4Suite-XML-1.0/setup.py -q bdist_egg --dist-dir /tmp/ > easy_install-_X4a0x/4Suite-XML-1.0/egg-dist-tmp-uBG5YU > error: Setup script exited with error: SandboxViolation: open('/dev/ > urandom', 0) {} > > The package setup script has attempted to modify files on your system > that are not within the EasyInstall build area, and has been aborted. > > This package cannot be safely installed by EasyInstall, and may not > support alternate installation locations even if you run its setup > script by hand. Please inform the package's author and the EasyInstall > maintainers to find out if a fix or workaround is available. > """ > > > So setuptools isn't allowing 4Suite to access the random number > generator during build/installation. I can easily subvert this, in > case anyone else just wants to make this work: > > """ > def main(): > from setuptools import sandbox > sandbox.DirectorySandbox._ok = lambda self,path: True > > """ > > Of course I'd like a better way of doing this, maybe I missed > something in the setuptools docs on configuration?
WTF is a build script doing with a random number generator?! -bob _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
