[Distutils] Is it safe to embedding additional metadata in bdist_wininst installers ?
"Martin v. Löwis"
martin at v.loewis.de
Tue Jun 15 08:39:39 CEST 2010
Am 15.06.2010 08:23, schrieb David Cournapeau:
> On Tue, Jun 15, 2010 at 3:13 PM, "Martin v. Löwis"<martin at v.loewis.de> wrote:
>>> I am interested in adding some metadata in the installers generated by
>>> bdist_wininst. I did it through a hack: base64-encoding the medata in
>>> a new section in the embedded cfgdata. From my understanding the
>>> installer.c sources, this seems safe, and the generated installer does
>>> work, but I am wondering whether there is a better way of doing it,
>>> and whether it could potentially breaks something,
>>
>> Why not use a file that gets installed in the system?
>
> Because I don't want the file installed. I am interested in doing this
> for arbitrary packages (the goal is to add support for egg<-> windows
> installer conversion in my packaging solution)
Ah. I would then add a prefix META to the scheme, and modify
bdist_wininst to skip all files with that prefix.
Regards,
Martin
More information about the Distutils-SIG
mailing list