Re: [Pyobjc-dev] Using bundlebuilder on PB projects
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-09-06 18:14:40
|
Just van Rossum: > I can't be bothered to compare directory structures, but I'll do you > the > favor of translating the relevant portion of your Info.plist to Python. > See below. Thanks! I didn't mean to bother you, but while taking notes and executing commands I was happy to find some hackish way to get a working app... I'm making progress in understanding what's going on and will look deeper into the source. Something I seem to miss in bundlebuilder is the ability to build not only in a specific output directory but also to take an in- put from a specific directory. At least the options below don't indicate this. Maybe this is because bundlebuilder try following the philosophy of Distutils? BTW, what about having bundlebuilder as a plugin for Distutils, so you can generate OS X bundles, like RPMs, say? Here is a result of a maybe useful application that I've just build with Python included, please let me know if it causes any strange (startup) effects for any of you: http://python.net/~gherman/RegexPlor.html Thanks and regards, Dinu Usage: python bundlebuilder.py [options] command python mybuildscript.py [options] command Commands: build build the application report print a report Options: -b, --builddir=DIR the build directory; defaults to "build" -n, --name=NAME application name -r, --resource=FILE extra file or folder to be copied to Resources -e, --executable=FILE the executable to be used -m, --mainprogram=FILE the Python main program -p, --plist=FILE .plist file (default: generate one) --nib=NAME main nib name -c, --creator=CCCC 4-char creator code (default: '????') -l, --link symlink files/folder instead of copying them --link-exec symlink the executable instead of copying it --standalone build a standalone application, which is fully independent of a Python installation -x, --exclude=MODULE exclude module (with --standalone) -i, --include=MODULE include module (with --standalone) --package=PACKAGE include a whole package (with --standalone) --strip strip binaries (remove debug info) -v, --verbose increase verbosity level -q, --quiet decrease verbosity level -h, --help print this message |