[Distutils] RECORD format in PEP 376

Tarek Ziadé ziade.tarek at gmail.com
Wed Mar 31 01:48:00 CEST 2010


On Wed, Mar 31, 2010 at 1:34 AM, Sridhar Ratnakumar
<sridharr at activestate.com> wrote:
>
> On 2010-03-30, at 2:06 PM, Tarek Ziadé wrote:
>
>> On Mon, Mar 29, 2010 at 10:07 AM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
>>> Hello,
>>>
>>> I'd like to make the RECORD file dead simple for PEP 376, and remove
>>> all the relocatable work we've started in it, since it'll go in a
>>> second
>>> file. This would be done in a second phase, with the work done at Pycon.
>>
>> Ok, Iv'e done this, according to the feedback in the other thread:
>>
>> paths are now relative to sys.prefix,
>
> Ok.
>
>> and absolute if not under sys.prefix.
>
> Sorry, I'm a little confused. So "/etc/myapp.conf" can be in RECORD? How would the second file (to be done in a second phase) be able to relocate this absolute path?

By having another file pretty similar to the sections we want to add
in setup.cfg, in the dist-info directory, with expandable variables.
Then re-created the RECORD file using the new relocation

(see wiki.cfg for more details)

> -srid
>
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list