Am Donnerstag 29 April 2010 16:04:55 schrieb Giovanni Bajo: > On 4/29/2010 3:53 PM, Peter Scheie wrote: > > It appeared to me that Makespec.py just added the line 'icon=icon.ico' > > to the spec file; does it do more than that? > > No, that's all. Sebastian's analysys is correct. You would need to debug > why CopyIcons() does not work for you, and you are not providing us with > many more information than "I don't see the icon". > > For instance, try downloading a tool that dumps the resources of a > binary, and see what happens when you add the icon.
How exactly do you know that the icon is not there ? I know little about Windows but I believe that there are some tools to extract icons from exe files. Have a look which icon is in your exe. try http://code.google.com/p/gui2exe/ and configure it to build a spec file for you. It might not build the perfect exe since it will not know all the hand crafted code but it is good enough to include the icon for you. Try it and once if works for the icon modify this spec file. Sebastian -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
