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
Post a Comment