On Thu, Aug 6, 2009 at 4:57 PM, Chris Withers<[email protected]> wrote:
> Tarek Ziadé wrote:
>>
>> On Thu, Aug 6, 2009 at 4:29 PM, Chris Withers<[email protected]>
>> wrote:
>>>>
>>>> for the scripts created in zc.recipe.egg sections, so distribute is
>>>> included in the sys.path
>>>> since this recipe re-creates it.
>>>
>>> Am I right in thinking this wouldn't be needed if zc.buildout and
>>> zc.recipe.egg both depended on distribute rather than setuptools?
>>
>> Yes, but I think this takes more energy and more time to convince Jim,
>> then
>> work in zc.buildout
>
> It really doesn't look like a lot of work, in fact I knocked up a branch
> that shows just that:
>
> http://svn.zope.org/zc.buildout/branches/use_distribute/
>
> The changeset required was actually pretty small:
>
> http://zope3.pov.lt/trac/changeset/102544

You also need to patch zc.buildout.Buildout class, that has some harcoded calls
to setuptools installation (like in the bootstrap method)

look at my patched bootstrap.py file

>
> When a distribute egg gets released, I'll try running these tests and see
> what happens...

You should be able to use nightly.ziade.org/ as an egg source in the
test fixture

In any case, like Jim proposed, being able to pick setuptools *or* distribute
eg removing the hardcoded installation sounds like a good idea
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to