python - How to add an icon to an exe developed through py2exe -


i working on windows-7 64 bit machine using python 2.7. using py2exe convert mycode.py script exe. not able find reason why icon exe not embedded.

my setup.py is:

from distutils.core import setup import py2exe import time setup(     windows=[{'script':'myscript.pyw',     'icon_resources':[(1,'myicon.ico')}],     options=dict(py2exe=dict(         packages='keyring.backends',     )), ) time.sleep(2) 

i looked customicons, q&a.

resource hacker might helpful.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -