[Distutils] setuptools 0.6c7 and zc.buildout: find-links egg fragment issue

Tarek Ziadé ziade.tarek at gmail.com
Thu Feb 7 22:14:43 CET 2008

Jim Fulton wrote:
> FWIW, I find this feature to be baroque. I have very little interest  
> in supporting it in buildout. (I wouldn't go out of my way to break it  
> either.) I'd prefer to explore other ways to deal with the underlying  
> use case in the context of buildout.  I've tried to ignore this issue  
> broadly, but I'm willing to work on an alternate solution because just  
> seeing the discussion go by is too painful to keep ignoring.

Ok. The use case is : we are working on a bunch of private packages
that do not have a public distribution.

So we start a buildout like this:

  develop =
  eggs = 

Then we create for each package a tag on the svn. And we want to 
distribute our buildout. so we change the buildout this way:

  find-links =
  extensions = lovely.buildouthttp
  download-cache = downloads

  eggs = 

..to build a buildout that will have those eggs built within the folder.
Then we add "install-from-cache" and "offline" to provide a installable

Ok, we could release some eggs in some private url to have the proper
find-links, but the #egg is quite convenient to avoid this extra step.

So if we can find a way to automate this..

2/ the develop problem

Another point that would be great to consider: setting up the develop
section can be painful when you share a project among many developers,
because they need to svn checkout many packages and make sure they
have the same folder structure.

So could you consider this feature here :
http://pypi.python.org/pypi/gp.svndevelop/0.1 ?
We created this to be able to automate the set of develop on developers
I think buildout misses this.

3/ the boostrap.py problem

If we want to have a full offline mode (not using your rpm system) with a
buildout directory, 
we need boostrap.py to avoid trying to get setuptools with an openurl call.

So we have created a special boostrap.py file that first looks in the eggs
to be sure to have a 100% offline mode


Could you consider such a feature as well ?

We work a *lot* with zc.buildout here, and those three points are the three
things that are missing,
in the way we use it. I can spare some time to work on some branches.


View this message in context: http://www.nabble.com/setuptools-0.6c7-and-zc.buildout%3A-find-links-egg-fragment-issue-tp15342830p15343632.html
Sent from the Python - distutils-sig mailing list archive at Nabble.com.

More information about the Distutils-SIG mailing list