[Pythonmac-SIG] I have a small python application that works fine
on a pc and under the interpreter on a mac running
RANDY BURNS
RBURNS at tacoma.k12.wa.us
Mon Dec 8 15:08:58 EST 2003
I have a small python application that works fine on a pc and under the
interpreter on a mac running OSX panther
I'm attempting to package this as per the instructions here:
http://www.python.org/cgi-bin/moinmoin/BundleBuilder
I think the problem may be that I'm not specifying all the binary
libraries needed
I'd really appreciate a pointer here.
Thanks!
RJB
===================================================
# these are the import statements from my application
from PythonCardPrototype import model
import os, re, sys
from PythonCardPrototype.components import radiogroup
import shutil
========================================
#here is the appbuilder file
###########################
import bundlebuilder, os
packageroot="/rjb/setserver"
myapp=bundlebuilder.AppBuilder(verbosity=1)
myapp.mainprogram=os.path.join(packageroot,"setserver.py")
myapp.standalone=1
myapp.name="setserver"
myapp.includePackages.append("/Library/Python/2.3/PythonCardPrototype/model")
myapp.includePackages.append("/Library/Python/2.3/PythonCardPrototype/components/radiogroup")
myapp.includePackages.append("os")
myapp.includePackages.append("re")
myapp.includePackages.append("sys")
myapp.libs.append("/usr/local/lib/libwx_mac-2.4.0.dylib")
myapp.libs.append("/usr/local/lib/libwx_mac-2.4.0.rsrc")
myapp.setup()
myapp.build()
==========================
# here is the output when I run the following
pythonw buildapp.py --standalone --strip build
#############################################
Finding module dependencies
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/Carbon/Controls.py:11:
FutureWarning: hex/oct constants > sys.maxint will
return positive values in Python 2.4 and up
kDataBrowserClientPropertyFlagsMask = 0xFF000000
Building 'build/setserver.app'
Copying files
Adding Python modules
Warning: couldn't find the following submodules:
(Note that these could be false alarms -- it's not
always
possible to distinguish between "from package
import submodule"
and "from package import name")
? OverrideFrom23._Res
? os.path
? wxPython.lib.PyCrust.introspect
Warning: couldn't find the following modules:
? Image
? _xmlplus
? clip_dndc
? cmndlgsc
? controls2c
? controlsc
? eventsc
? filesysc
? fontsc
? framesc
? gdic
? imagec
? mdic
? misc2c
? miscc
? printfwc
? readline
? sizersc
? stattoolc
? streamsc
? utilsc
? windows2c
? windows3c
? windowsc
Done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20031208/d5db8f2d/attachment.html
More information about the Pythonmac-SIG
mailing list