Index: py2exe/__init__.py =================================================================== RCS file: /cvsroot/py2exe/py2exe/py2exe/__init__.py,v retrieving revision 1.23 diff -u -r1.23 __init__.py --- py2exe/__init__.py 13 Jul 2004 08:45:05 -0000 1.23 +++ py2exe/__init__.py 26 Aug 2004 05:11:56 -0000 @@ -72,8 +72,23 @@ self.console = attrs.pop("com_server", []) self.zipfile = attrs.pop("zipfile", "library.zip") + # [bialix] + version_info = attrs.pop("version_info", None) + # [/bialix] + distutils.dist.Distribution.__init__(self, attrs) + # [bialix] + if version_info: + accepted_info = ("comments", "copyright", + "company_name", "trademarks" + ) + for item in accepted_info: + setattr(self.metadata, item, + version_info.get(item, None) + ) + # [/bialix] + distutils.core.Distribution = Distribution distutils.command.__all__.append('py2exe')