py2exe 0.5.0 (finally) released

Wolfgang Strobl news2 at mystrobl.de
Tue Jan 20 17:39:32 EST 2004


ny_r_marquez at yahoo.com (R.Marquez):

>Maybe I'm missing it, but I don't see how to specify an icon to use
>for the exe.  Is that funtionality no longer available?

icon_resources works for me, like so:

setup( windows = ["wxKnife.py",
    {"script":"wxKnife.py","icon_resources":[(1,"images/app2.ico")]}],
    console=["installed_updates.py","installed_sw.py"],
    data_files=[("images",["images/app2.ico",]),]
    )

-- 
Wir danken für die Beachtung aller Sicherheitsbestimmungen



More information about the Python-list mailing list