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.