<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Aug 19, 2008 at 3:41 PM, Phillip J. Eby <span dir="ltr"><<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">At 03:09 PM 8/19/2008 +0200, Tarek Ziadé wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So, setuptools should use a random, unique, temporary name in this function imho<br>
to make buildout happy with any kind of dev package.<br>
</blockquote>
<br></div>
Um, no. easy_install does *each* download to a unique temporary directory. If buildout is doing something else, it's buildout that's broken.<br>
<br>
</blockquote></div><br>Oups right, I thought easy_install worked with the same temp folder in the same run but it is zc.buildout,<br><br>I just found the place where it is not behaving correctly, it does a <br><br>>>> index.download('<a href="http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev">http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev</a>', FOLDER)<br>
<br>where FOLDER may have a "setuptools" directory already<br><br>===<br><br><div></div>Jim do you still dislike the idea of making zc.buildout compatible with packages downloaded with egg fragments ?<br><br>Because even if no one uses such urls in the find-links option, it will be forced if you try to use "setuptools==dev" in the buildout,<br>
which would be simpler that to use a 'develop' option in that case.<br><br>I think the solution is to check for this in Installer._fetch(self, dist, tmp, download_cache) in zc.buildout/easy_install.py<br>and do a special treatement when such urls are provided.<br>
<br>Tarek<br><br>-- <br>Tarek Ziadé | Association AfPy | <a href="http://www.afpy.org">www.afpy.org</a><br>Blog FR | <a href="http://programmation-python.org">http://programmation-python.org</a><br>Blog EN | <a href="http://tarekziade.wordpress.com/">http://tarekziade.wordpress.com/</a><br>
</div>