Anonymous avatar Anonymous committed 8cf74aa

New script to assemble the app. It uses the brand new bundlebuilder
module from the Python CVS tree: Mac/Lib/bundlebuilder.py. This module
in turn needs Mac/Lib/plistlib.py. Other than that it depends on no
Mac- or PyObjC-specific modules.

Comments (0)

Files changed (1)

pyobjc/Examples/TableModel/buildapp.py

+#
+# Successor of setup-app.py. Run this program from the command line like so:
+#
+# % python buildapp.py build
+#
+# It depends on two (new) modules from the Python CVS tree:
+#    Mac/Lib/bundlebuilder.py
+#    Mac/Lib/plistlib.py
+# These modules are otherwise completely standalone, they don't need any
+# Mac- or PyObjC-specific stuff.
+#
+
+from bundlebuilder import buildapp
+
+buildapp(
+	mainprogram = "TableModel.py",
+	resources = ["English.lproj"],
+	nibname = "MainMenu",
+)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.