[Pythonmac-SIG] py2app iconfile not working?
Frank Niessink
frank at niessink.com
Sun Nov 26 21:37:20 CET 2006
Tim Ansell:
> Hello,
>
> I'm still trying to bundle my application with py2app.
>
> I've used the img2icns application (version 0.3) to create a icns file
> from a png file. However, when I use the "iconfile" option (either by
> --iconfile or 'py2app':{"iconfile": ...) the icon does not get applied
> to the bundle.
I had a similar issue. Adding a plist option to the py2app options
solved it. See setup.py fragment below.
setupOptions.update(dict(app=['taskcoach.py'],
setup_requires=['py2app'],
options=dict(py2app=dict(argv_emulation=True, compressed=True,
dist_dir=builddir, optimize=2,
iconfile='icons.in/taskcoach.icns',
packages=['i18n'],
plist=dict(CFBundleIconFile='taskcoach.icns')))))
HTH, Frank
More information about the Pythonmac-SIG
mailing list