[Distutils] Building an egg from Subversion using zc.buildout
Phillip J. Eby
pje at telecommunity.com
Sun Feb 11 01:44:04 CET 2007
At 02:20 PM 2/10/2007 -0500, Jim Fulton wrote:
>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. :)
Ah, but setuptools has a ==dev06, and I think other people have used other
tags to denote various SVN branches. The name used to denote the version
is incidental, IOW, so that way lies N special cases, all different. :)
More information about the Distutils-SIG
mailing list