Menu

#1 Icon is not copied to build folder

open
nobody
None
5
2008-07-14
2007-11-01
Anonymous
No

When you compile your program, you have to add your icon to the files you want to add in the program, otherwise py2exe will "crash" (without raising an exception!). It would be more convenient if the program would automatically move the icon to the "build" folder, and after compiling, it would move the icon back to the original folder.

Example:

-----

Icon: key.ico

Data (Images, Data, etc.): load.bmp=load.bmp; save.bmp=save.bmp

-----

If I compile it now, it just quits after creating the "Binary" folder. Instead, I have to do this:

-----

Icon: key.ico

Data (Images, Data, etc.): load.bmp=load.bmp; save.bmp=save.bmp; key.ico=key.ico

-----

Or, I have to type the entire path in the "Icon" field

-----

Icon: C:\Python25\Program\key.ico

-----

Suggestion: Copy the icon to the "build" folder before compiling.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Oh and by the way, thanks a lot for your program, I like it a lot :-)

     
  • David Mack

    David Mack - 2008-07-14

    Logged In: YES
    user_id=1402440
    Originator: NO

    I am going to just make sure that the icon is copied over to the build folder, like you suggested.

    Thanks

     
  • David Mack

    David Mack - 2008-07-14
    • summary: Bug --> Icon is not copied to build folder
     

Log in to post a comment.