Re: [Pyobjc-dev] new app-bundle-making-tools
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2002-11-22 16:06:47
|
Just van Rossum wrote: > I have to verify that it works with a Framework build. I think it does, and if > it doesn't it should be easily fixable. But I don't know yet... I just tested it, it works. However, by default it will use whater "/usr/bin/env python" yields, and that's usually stock Python 2.2. To build an applet that actually uses Python.framework you currently have to invoke the build script like so: % python buildapp.py -e /usr/local/bin/python build (This is assuming /usr/local/bin/python is the Python.framework main executable) The -e option specifies which executable to use, and copies this to the app bundle. The Python.framework main executable is only 16k, but to save even those 16k you can use the --link-exec option which adds a symbolic link to the executable instead of a copy. The TableModel applet is then under 10000 bytes (although the Finder calls that 56k...). Just |