[Distutils] Building an egg from Subversion using zc.buildout
Jim Fulton
jim at zope.com
Sun Feb 11 19:01:41 CET 2007
On Feb 10, 2007, at 7:44 PM, Phillip J. Eby wrote:
> 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. :)
I really don't understand this feature. So far I have had to resort
to experimentation to get a loose grip on it. I think this needs to
be much better documented (or dropped). Unfortunately, I think you
are the only one who can document it because I think that you are the
only one who truly understands it.
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