Oops. I was replying to this thread:
http://mail.python.org/pipermail/pythonmac-sig/2009-January/020834.html
which I thought only just began, but I now see it began a year ago.
Still getting used to 2010 it seems!

Mike

On Sun, Jan 3, 2010 at 7:10 PM, Mike Lawrence <mike.lawre...@dal.ca> wrote:
> This seemed to work for me:
>
> You need two files, a bitmap of the icon, here dubbed "AppIcon.png",
> and an icns file created in Icon Composer, here dubbed "AppIcon.icns".
> Place both folder where your main python script is located then, in
> the main python script, append the following just after pygame.init(),
> *before* pygame.display.set_mode().
>
> pygame.display.set_icon(pygame.image.load('AppIcon.png'))
>
> Next, when you build using py2app, build as follows:
>
> python setup.py py2app --iconfile AppIcon.icns --resources AppIcon.png
>
> --
> Mike Lawrence
> Graduate Student
> Department of Psychology
> Dalhousie University
>
> Looking to arrange a meeting? Check my public calendar:
> http://tr.im/mikes_public_calendar
>
> ~ Certainty is folly... I think. ~
>



-- 
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University

Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar

~ Certainty is folly... I think. ~
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to