[Distutils] Is it safe to embedding additional metadata in bdist_wininst installers ?

David Cournapeau cournape at gmail.com
Tue Jun 15 08:23:54 CEST 2010


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)

David


More information about the Distutils-SIG mailing list