Steven Palm
2004-10-07 03:21:54 UTC
Hi Roger,
I'm sure there is a good reason for having a guihelper.py in the main
bitpim tree and also in the bitfling module... But there are a LOT of
common bits in them, couldn't they somehow be made to be one? :-)
I'm switching the Macintosh builds over to use "py2app", a new build
system from Bob Ippolito. It is the new up-and-coming replacement for
the old crufty bundlebuilder routines.
Right now, it leaves sys.path[0] in a different state than it used to
be. Bob said this will likely be fixed, but for now I have to do a
slight change in guihelper.py for the Mac:
if IsMac():
p=os.getcwd()
else:
p=sys.path[0]
I just realized that it had to be done separately for bitpim and for
bitfling, which is why I asked the first question.
The downside to using py2app is that it bloats the size of the
executable up considerably from what bundlebuilder had created. This is
partially because the app is now truly standalone, requiring no Python
install on the user's machine (at least that's the claim) to bootstrap
itself. So the old disk image was about 9MB and the new is 13MB, but I
think it's a better solution, and in the long run bundlebuilder will
die and py2app will be "it".
I'm sure there is a good reason for having a guihelper.py in the main
bitpim tree and also in the bitfling module... But there are a LOT of
common bits in them, couldn't they somehow be made to be one? :-)
I'm switching the Macintosh builds over to use "py2app", a new build
system from Bob Ippolito. It is the new up-and-coming replacement for
the old crufty bundlebuilder routines.
Right now, it leaves sys.path[0] in a different state than it used to
be. Bob said this will likely be fixed, but for now I have to do a
slight change in guihelper.py for the Mac:
if IsMac():
p=os.getcwd()
else:
p=sys.path[0]
I just realized that it had to be done separately for bitpim and for
bitfling, which is why I asked the first question.
The downside to using py2app is that it bloats the size of the
executable up considerably from what bundlebuilder had created. This is
partially because the app is now truly standalone, requiring no Python
install on the user's machine (at least that's the claim) to bootstrap
itself. So the old disk image was about 9MB and the new is 13MB, but I
think it's a better solution, and in the long run bundlebuilder will
die and py2app will be "it".