Hi,
I'm trying to freeze a Python application on Mac OS X 10.6. The application
works on my system, however, it does not on someone else's. I've found that my
application references the Python interpreter as a dynamic library. This
interpreter is not installed on the other system.
I've found that on Mac OS X, the libpython3.1.a and libpython3.1.dylib (.dylib
is the Mac OS X version of .so on Linux) are both symlinks to the Python
interpreter binary. Hence, when cx_freeze builds the Console application, this
contains references to this binary:
rob:trunk rob$ otool -L build/lib.macosx-10.6-x86_64-3.1/cx_Freeze/bases/Console
build/lib.macosx-10.6-x86_64-3.1/cx_Freeze/bases/Console:
/opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python
(compatibility version 3.1.0, current version 3.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 550.29.0)
I've tried to replace the libpython3.1.dylib symlink with the actual Python
interpreter, but still the reference to
opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python remains in
this file and thus also in the Console binary
Has anyone run across this problem before and found a solution?
I'm using the trunk SVN version of cx_Freeze and Python3.1 install build from
source using MacPorts.
Regards,
Rob Reilink
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users