As often happens, forming confusion into an intelligible question yields the solution. I&#39;ll share my finding and would appreciate any feedback. This hack seems a lot of bother but any other fix evades.<br><br>The issue was stated nicely some time ago, see <a href="http://www.mail-archive.com/pythonmac-sig@python.org/msg08548.html">http://www.mail-archive.com/pythonmac-sig@python.org/msg08548.html</a> as desired. The follow-up reply (add --resources AppIcon.png) doesn&#39;t seem to help. Looks like this list has a tradition of revisiting this topic on an annual basis (ha) and I didn&#39;t see another answer. My question was the same as OP, how to recreate the .zip after hacking on it, today the attached seems to do the trick and at the expense of just a bit more work producing the .app:<br>
<br>Recreate the problem:<br><br>hg clone <a href="https://RobertLeachman">https://RobertLeachman</a>@<a href="http://bitbucket.org/RobertLeachman/pythentene">bitbucket.org/RobertLeachman/pythentene</a><br>hg clone <a href="https://RobertLeachman">https://RobertLeachman</a>@<a href="http://bitbucket.org/RobertLeachman/pythenteneassets">bitbucket.org/RobertLeachman/pythenteneassets</a><br>
cp pythenteneassets/stuff/setup_mac.py pythentene<br>cp pythenteneassets/stuff/gameIcon.icns pythentene/stuff<br>cd pythentene<br>python setup_mac.py py2app<br><br>Works fine, produces dist/Pythentene.app but has the issue at hand: the Pygame icon flashes on the dock as the game starts.<br>
<br>cd dist/Pythentene.app/Contents/Resources/lib/python2.6<br>mkdir x; cd x; unzip ../site-packages.zip; cd pygame<br>rm pygame_icon*<br>cp ../../../../../../../../stuff/gameIcon.icns pygame_icon.icns<br>cd ..<br>zip -r9 site-packages-new.zip *<br>
cd ..<br>mv x/site-packages-new.zip site-packages.zip<br>rm -rf x<br><br>Success, no more pygame icon but instead a nice stable experience for the user. I&#39;m sincere about wanting to talk about the subject line, but also can&#39;t resist... this is all go-forward from the 0.1a release of <a href="http://www.bitblaster.com/pythentene/">http://www.bitblaster.com/pythentene/</a> and I&#39;m hungry for help or feedback. Let me know if you are interested in some open-source programming work, or just play this classic game and complete the survey if you will.<br>
<br>Thanks!<br>