<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1">
</HEAD>
<BODY>
Em Ter, 2007-04-17 às 20:04 -0400, Phillip J. Eby escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">At 04:16 PM 4/17/2007 -0300, Flávio Codeço Coelho wrote:</FONT>
<FONT COLOR="#000000">>Hi,</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>I have a setup.py that has recently stopped working with a </FONT>
<FONT COLOR="#000000">>sandbox-violation error message. During installation I install files under </FONT>
<FONT COLOR="#000000">>/usr/share</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>Is installation of file outside the python path forbidden now?</FONT>
<FONT COLOR="#000000">It is when an egg is being built, since anything not installed to the </FONT>
<FONT COLOR="#000000">temporary directory where the egg is being built will not get included in </FONT>
<FONT COLOR="#000000">the egg.</FONT>
</PRE>
</BLOCKQUOTE>
Is this a recent change to easy_install? cause my packages used to install nicely with easy_instal up to a few weeks ago...
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">>Is ther any workaraound?</FONT>
<FONT COLOR="#000000">Don't use easy_install or build an egg. Eggs must be self-contained, and </FONT>
<FONT COLOR="#000000">easy_install builds eggs before installing them. That's a feature of eggs </FONT>
<FONT COLOR="#000000">-- i.e., they don't put files all over your system.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
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...;-)
</BODY>
</HTML>