Version strings in executable created by Py2exe

Robert L. Oelschlaeger roelsch at comtrak.com
Mon Jun 3 18:31:32 EDT 2002


> -----Original Message-----
> From: Jimmy Retzlaff [mailto:jimmy at retzlaff.com]
> Sent: Monday, June 03, 2002 3:09 PM
> To: python-list at python.org
> Cc: Robert L. Oelschlaeger
> Subject: RE: Version strings in executable created by Py2exe
> 
> 
> Robert L. Oelschlaeger [mailto:roelsch at comtrak.com] wrote:
> > Running with Python 2.2. I've created myAppName.exe using 
> Py2exe, with
> > the "version_companyname" and "version_legalcopyright" specified in
> > the setup .cfg file as follows:
> ...
> > Why are the version_companyname and version_legalcopyright 
> strings not
> > installed for the "Company Name" and "Copyright"?
> 
> "version" should be followed by a dash rather than an underscore. So,
> for example, you should use "version-companyname" rather than
> "version_companyname".
> 
> Jimmy

I tried the name change, but it didn't help: still no 'Company Name' or
'Copyright' strings in the resulting .exe file.

I think there is a documentation problem:

    the example at http://starship.python.net/crew/theller/py2exe/ uses
    hypenated names, but

    the names in py2exe/build_exe.py are the underscored names (e.g.,
    self.version_companyname).

It appears to me that the strings in py2exe/build_exe.py that can come
from either self.<stringname> or md.<stringname>, as in (line 825)

    self.version_filedescription or md.description or ""

are working; strings that are derived from self.<stringname> are empty.
I don't see how the self.<stringname> variables are supposed to get set.

Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2368 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20020603/1bd69019/attachment.bin>


More information about the Python-list mailing list