Mac OS X requires several different icon images combined into a single .icns file. Use Icon Composer to create this file (this is installed in /Developer/Applications/Utilities with the Developer Tools.
.icns
/Developer/Applications/Utilities
Making a pyglet release
Documentation
Enter search terms or a module, class or function name.