
Jim Fulton wrote:
Has anyone done this before?
Yes
I had a feeling that might be the case ;-)
Failing that, is there any way in buildout to say "use this egg repository in favour of pypi, and only look at pypi if the egg isn't found in the local repository"?
Just set up a flat directory somewhere and tell buildout (or any other setuptools-based software, like easy_install) to add it to its list of find links.
Does find-links take preference over the repository? I thought *all* find-links *and* the repository were checked and the best match used?
We simply set up an sftp server and point buildout at it using the buildoutsftp buildout extension and sftp urls, as in:
extensions = zc.buildoutsftp find-links = sftp://private.zope.com/private
This provides restricted access with authentication using ssh keys.
Cool. Out of interest, what ftp server do you use for this and how do you build/upload the eggs to sftp://private.zope.com/private? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk