[Pythonmac-SIG] Bundle Builder Questions
Chris Barker
Chris.Barker at noaa.gov
Wed Mar 31 19:29:16 EST 2004
Hi all,
Relevant to some of what I wrote as par tof our heated "is wxPython
worth using" discussion, I'm trying, for the first time, to use
BundleBuilder to make a stand alone app out of a wxPython app of mine.
My first question, is how do I test it? I need to manually tell it to
include some of the wxPython libraries, but if I don't, it still runs
fine on my machine, as those libraries are present. I had to move it
over to someone else's machine, test it, note which library it couldn't
fine, include that, repeat 7 times. I'd really like an easier way!
Two, I'm having trouble making a semi-standalone, which I think is what
I want if I want to build and run it on 10.3 only. In my buildapp file,
I put:
myapp.standalone = 1
I get a standalone, with python itself included
IF I try to replace that with:
myapp.semi-standalone = 1
well, that won't work, as semi-standalone is not a valid identifier. If
I build with:
python buildapp.py --semi-standalone
I still seem to get a python executable in the bundle, but I don't get
the wxPython code, at least I don't think so.
Three, and this is an odd one. If I make a Bundle, run it, stop it, put
it in the trash, then try to empty the trash, I get an error, saying
that "Python" is in use. THe only way I"ve found to delete it is to get
it out of the trash, and rm it at the command line.
Four: I needed to add 7 wxPython libraries. I expected this, but I'm
surprised that I had to add all of them, including:
libwx_macd_html
libwx_base_carbond_net
As I'm not using any of the wxHTML stuff, or any wx networking stuff.
The resulting bundle is 22MB (and compresses to 6.2MB) so it wuld be
nice to make that as small as possible!
Thanks for any pointer,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list