From 2e9cb0a10b2adf72f75409b15242e8605321e170 Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Mon, 19 May 2014 14:19:10 +0200 Subject: [PATCH] Add some packaging notes to darwin-py2app.sh. --- packaging/darwin-py2app.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packaging/darwin-py2app.sh b/packaging/darwin-py2app.sh index ee00139..7dd61eb 100755 --- a/packaging/darwin-py2app.sh +++ b/packaging/darwin-py2app.sh @@ -1,9 +1,20 @@ #!/bin/sh -# Copyright 2009 Jeremy Thurgood +# Copyright 2009-2014 Jeremy Thurgood # 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}" -- 2.34.1