[Distutils] buildout directory computation change

Jim Fulton jim at zope.com
Mon Jul 28 19:58:39 CEST 2008


On Jul 28, 2008, at 1:14 PM, kiorky wrote:

> Jim Fulton a écrit :
>> On Jul 28, 2008, at 11:28 AM, whit morriss wrote:
>>> it looks like something changes in how some vars (ie buildout:egg- 
>>> directory) gets computed between 1.0.2 and 1.1.0
>>>
>>> OSError: [Errno 2] No such file or directory: '/Users/whit/dev/geo/ 
>>> alm3//Users/whit/dev/geo/alm3/develop-eggs'
>>>
>>> is the resulting error for:
>>>
>>> eggs-directory = ${buildout:directory}/develop-eggs
>>>
>>> instead of:
>>>
>>> '/Users/whit/dev/geo/alm3/develop-eggs'
>>>
>>> (which I believe works until at least 1.0.2)
>>>
>>> buildout seems to implicitly assume I want buildout:directory  
>>> appended. is this a feature, bug, or something I can turn off?
>> The way buildout normalizes buildout paths did change in 1.1.0.  I  
>> haven't seen this error and can't see, in the code, while this  
>> error would occur.
>> Can you provide a buildout I can use to reproduce this problem?
>> Jim
>> -- 
>> Jim Fulton
>> Zope Corporation
>> _______________________________________________
>> Distutils-SIG maillist  -  Distutils-SIG at python.org
>> http://mail.python.org/mailman/listinfo/distutils-sig
> I saw this problem which broke minitage too a week ago.
>
> Jim, you can see all the buildouts in there : http://trac.minitage.org/trac/browser 
>  	
> like:http://trac.minitage.org/trac/browser/minitage/buildouts/dependencies/bzip2-1.0.4/buildout.cfg 
> .
>
> They will all fail with zc.buildout >= 1.1


Not for me. :)  I've tried on both Ubuntu and Mac OS X.

Jim

--
Jim Fulton
Zope Corporation




More information about the Distutils-SIG mailing list