Commits

Just van Rossum  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.

  • Participants
  • Parent commits be330a4

Comments (0)

Files changed (1)

File 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",
+)