[Pyobjc-dev] new app-bundle-making-tools
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2002-11-21 23:58:53
|
I checked in two new modules in the Mac subtree of the Python project: Mac/Lib/bundlebuilder.py -- tools to assemble bundles Mac/Lib/plistlib.py -- generating and parsing plists I also added a script to the pyobjc/Examples/TableModel/ demo that uses bundlebuilder. It's called buildapp.py and looks like this: # # Successor of setup-app.py. Run this program from the command line like so: # # % python buildapp.py build # from bundlebuilder import buildapp buildapp( mainprogram = "TableModel.py", resources = ["English.lproj"], nibname = "MainMenu", ) Be sure to also try % python buildapp.py help for an overview of options. It isn't all that different from setup-app.py, but I didn't want to break that one just yet... bundlebuilder.py and plistlib.py don't depend on any Mac-specific modules, nor do they depend on pyobjc. The next thing on my list is to enhance bundlebuilder to use modulefinder to find all module dependencies and copy all the needed modules to the app bundle to create a truly standalone application. Just |