|
Revision 232, 0.9 kB
(checked in by fdb, 13 months ago)
|
|
Include all default python2.5 packages and modules. Py2app calculates a dependency graph, this is a workaround.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | # Builds the NodeBox Mac OS X distribution folder. |
|---|
| 3 | |
|---|
| 4 | # Remove dist and build |
|---|
| 5 | rm -rf dist build |
|---|
| 6 | |
|---|
| 7 | # First, make the help files. |
|---|
| 8 | cd ../helpsrc |
|---|
| 9 | python makehelp.py |
|---|
| 10 | |
|---|
| 11 | # Now build the application. |
|---|
| 12 | # Semi-standalone means it bundles all the required modules, |
|---|
| 13 | # but not Python itself. |
|---|
| 14 | cd ../src |
|---|
| 15 | python macsetup.py py2app |
|---|
| 16 | |
|---|
| 17 | # Due to a bug in PyObjC, the included site.py file is incorrect. |
|---|
| 18 | # We provide our own. |
|---|
| 19 | cp site.py dist/NodeBox.app/Contents/Resources |
|---|
| 20 | |
|---|
| 21 | # Another PyObjC bug: the icon in the plist file is ignored, and instead |
|---|
| 22 | # PythonApplet.icns is used. Copy our NodeBox icon over PythonApplet.icns |
|---|
| 23 | cp Resources/NodeBox.icns dist/NodeBox.app/Contents/Resources/PythonApplet.icns |
|---|
| 24 | |
|---|
| 25 | # Now make a distro directory that will contain all the files. |
|---|
| 26 | mkdir -p dist/NodeBox/NodeBox |
|---|
| 27 | cd dist/NodeBox/NodeBox |
|---|
| 28 | mv ../../NodeBox.app . |
|---|
| 29 | cp ../../../Changes.txt . |
|---|
| 30 | cp ../../../ReadMe.txt . |
|---|
| 31 | svn export http://dev.nodebox.net/svn/nodebox/trunk/examples/ Examples |
|---|
| 32 | |
|---|
| 33 | # All done. |
|---|
| 34 | cd ../../.. |
|---|