#!/bin/sh
-# Copyright 2009 Jeremy Thurgood <firxen@gmail.com>
+# Copyright 2009-2014 Jeremy Thurgood <firxen@gmail.com>
# GPL - see COPYING for details
#
# Usage: darwin-py2app
+# NOTE:
+#
+# This requires a 32-bit Python build from python.org and a binary pygame
+# distribution.
+# I used these:
+# https://www.python.org/ftp/python/2.7.6/python-2.7.6-macosx10.3.dmg
+# http://pygame.org/ftp/pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
+#
+# Install these in /Library/Frameworks and build the virtualenv with
+# --system-site-packages to make the pygame installation available.
+
GAME_NAME=`sed -ne 's/NAME_STR = "\(.*\)"/\1/p' setup.py`
GAME_VERSION=`sed -ne 's/VERSION_STR = "\(.*\)"/\1/p' setup.py`
BUILD_NAME="${GAME_NAME}-${GAME_VERSION}"