<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 6:30 PM, P.J. Eby <span dir="ltr">&lt;<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">At 12:00 AM 6/7/2011 -0700, James wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As an example I&#39;m looking at setuptools-0.6c11-py2.7.egg, can someone tell me why setuptools/command/east_install.py in get_site_dirs() does its own computation of where site-packages is? As of 2.7 there are already 4 separate places in the python where this path is computed. Maybe I&#39;m missing something but I don&#39;t see why an egg would have an opinion on this matter.<br>

</blockquote>
<br></div>
It doesn&#39;t do that in order to know where to install things; it does it to know what places are *safe* to install things that need .pth support.<br>
<br></blockquote><div>I&#39;m seeing it make up the path and then fail in a copytree since the computed dest directory in my case doesn&#39;t exist So I&#39;m not exactly sure what you mean when you say it doesn&#39;t. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
(And unfortunately, there is no way to obtain this list from the site module directly.)<br></blockquote><div>I guess that is the nub, oh well.</div><div><br></div><div>cheers,</div><div>- James</div></div><br>