#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    14
    Rep Power
    0

    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.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69

    GUI


    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,

    Take care,
    Mark.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    14
    Rep Power
    0
    I got it to work with a little more messing around
  6. #4
  7. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    sweet, wana let me in on it? lol glad you worked it out Longhair but do share

    Take care,
    Mark.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    14
    Rep Power
    0
    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
  10. #6
  11. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69

    Python default


    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,
    Mark.

IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo