projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
150b900
)
Add some packaging notes to darwin-py2app.sh.
author
Jeremy Thurgood
<firxen@gmail.com>
Mon, 19 May 2014 12:19:10 +0000
(14:19 +0200)
committer
Jeremy Thurgood
<firxen@gmail.com>
Mon, 19 May 2014 12:19:10 +0000
(14:19 +0200)
packaging/darwin-py2app.sh
patch
|
blob
|
history
diff --git
a/packaging/darwin-py2app.sh
b/packaging/darwin-py2app.sh
index ee0013929bd25f62db4fb1b3f68f41ed597d07aa..7dd61eb77477853f0ca1176ae7c9525a9b5b18a1 100755
(executable)
--- a/
packaging/darwin-py2app.sh
+++ b/
packaging/darwin-py2app.sh
@@
-1,9
+1,20
@@
#!/bin/sh
#!/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
# 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}"
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}"