On Tue, Aug 19, 2008 at 2:44 PM, Sebastien Douche <sdouche@gmail.com> wrote:
On Tue, Aug 19, 2008 at 07:29, Jeroen Ruigrok van der Werven
<asmodai@in-nomine.org> wrote:
> -On [20080819 06:19], dan corson (dcorson@facebook.com) wrote:
>>But I'm not sure it was addressed, and now we're getting the same
>>problem here with svn 1.5.1.
>
> easy_install -U setuptools==dev

I would like to know why 0.7 (or 0.6c9) is not out. This solution is
not clean, and doesn't work with Buildout.

It should work with:

[buildout]
..
versions = versions

[versions]
setuptools = dev

*But* it doesn't because of a bug I mentioned a few months ago:

In setuptools's package_index module, the _download_url determines a filename using the last part of the URL:

'http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev'

becomes

'setuptools'

and it goes to your download folder at:

'..downloads/dist/setuptools'

But this is also the name used by zc.buildout to decompress the package :)

leading to an error, in the next attempt do get setuptools:

IOError: [Errno 21] Is a directory: '.../downloads/dist/setuptools'

In any case, this setuptools behaviour is bad, because if your url is:

'http://svn.example.org/your/package/trunk'

It will end up in a "trunk" folder. And if you have two packages that points to an url finishing with "trunk"
it will fail.

So, setuptools should use a random, unique, temporary name in this function imho
to make buildout happy with any kind of dev package.



Are there any unrelsolved bugs  ?

setuptools has its own tracker here : http://bugs.python.org/setuptools


 


--
Seb
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig



--
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/