[Distutils] Building an egg from Subversion using zc.buildout

Jim Fulton jim at zope.com
Sat Feb 10 20:20:33 CET 2007


On Feb 10, 2007, at 2:16 PM, Phillip J. Eby wrote:

> At 12:54 PM 2/10/2007 -0500, Jim Fulton wrote:
...

>> (Note: Buildout uses PackageIndex to locate and fetch distributions.
>> It then installs distributions itself.  if the distribution is
>> already an egg,  then this is straightforward.  Otherwise, buildout
>> invokes easy_install to do the installation.  It can't get a return
>> value from easy_install, so it uses an Environment to find the egg
>> that easy_install created.)
>
> Note that easy_install can be told to --record what files it  
> installs, so you could build a WorkingSet or Environment from that  
> list.

I looked at that a while back.  I don't remember why I didn't take  
that approach.

At this point, I think it would be easier to special-case ==dev. :)

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Distutils-SIG mailing list