June 13th, 2003, 04:42 AM
Changing The ICON w/ py2exe
I copied the py.ico into my test directory and then did the following:
C:\test>setup.py py2exe --icon py.ico -w
It compiled the test no problem, but I am still left with the default icon
I am using Win 2K3 if that makes a difference.
June 13th, 2003, 09:07 AM
Hi again Longhair,
You may need to include the icon file in setup.py. I'm not sure what your doing but you can usually change the icon for GUI applications, maybe you can't change them for other apps?
Anyway if I find out ill let you know,
June 13th, 2003, 02:28 PM
I got it to work with a little more messing around
June 13th, 2003, 07:38 PM
sweet, wana let me in on it? lol glad you worked it out Longhair but do share
June 14th, 2003, 10:15 AM
The only difference was I changed the name of the py.ico to something else and it worked
C:\test>setup.py py2exe --icon test.ico -w
June 14th, 2003, 11:26 AM
Ah, strange, maybe because py.ico is registered to Python or because it's default is py.ico, it just didn't like it, ah well thanks for the info!
Have fun Longhair,