[Distutils] sandbox violation

Flávio Codeço Coelho fccoelho at fiocruz.br
Wed Apr 18 13:52:18 CEST 2007

Em Ter, 2007-04-17 às 20:04 -0400, Phillip J. Eby escreveu:

> At 04:16 PM 4/17/2007 -0300, Flávio Codeço Coelho wrote:
> >Hi,
> >
> >I have a setup.py that has recently stopped working with a 
> >sandbox-violation error message. During installation I install files under 
> >/usr/share
> >
> >Is installation of file outside the python path forbidden now?
> It is when an egg is being built, since anything not installed to the 
> temporary directory where the egg is being built will not get included in 
> the egg.

Is this a recent change to easy_install? cause my packages used to
install nicely with easy_instal up to a few weeks ago...

> >Is ther any workaraound?
> Don't use easy_install or build an egg.  Eggs must be self-contained, and 
> easy_install builds eggs before installing them.  That's a feature of eggs 
> -- i.e., they don't put files all over your system.

I agree with this philosophy. But does it mean that if want my packages
to install files to other locations, I am forever banned from the
setuptools  world? ;-) Please say it is not true...;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20070418/2875ed91/attachment.html 

More information about the Distutils-SIG mailing list