py2exe 0.6.2 version resources

Thomas Heller theller at
Tue Sep 20 11:51:14 CEST 2005

klaus.roedel at writes:

> Hi @all,
> I've implementet a simple setup script for my application with py2exe.
> The works fine, but now I want to add version resources to my
> *.exe-file. But how can I do it?
> I've tested it with the setup.cfg, but that doesn't work. I alwayse
> became the errormessage:
>   error: error in setup.cfg: command 'py2exe' has no such option
> 'version_legalcopyright'
> until I've deleted all options.
> I'm using python 2.4.1 and py2exe 0.6.2 on Windows XP SP2.
> Thanks for any help.

In py2exe 0.5 and 0.6 you can no longer specify the versionresource in
setup.cfg.  The advanced sample in
lib\site-packages\py2exe\samples\advanced demonstrated how to do it.

> Greets,
> Klaus


More information about the Python-list mailing list