Re: [Pyobjc-dev] Problem running PyObjC/py2app app on machine without PyObjC installed
Brought to you by:
ronaldoussoren
From: Zachery B. <zb...@ur...> - 2013-05-10 14:45:10
|
On May 10, 2013, at 10:33 AM, Ronald Oussoren <ron...@ma...> wrote: > On 10 May, 2013, at 16:16, Zachery Bir <zb...@ur...> wrote: >>> >>> What are the OSX versions of the machine where you build PyObjC and where you tried to start the application? This might be a deployment target issue, that is a binary with a deployment target that is higher than the OS you try to run the app on. >> >> I'm building Zem on 10.8.2, but I get the error on other 10.8.2 machines without PyObjC installed. The specific error I pasted earlier came from 10.7.5. What's the best way to declare deployment target in a totally script-driven py2app environment? > > That's the easy part, you don't have to :-) > > The harder part is building the binaries for Python and all extensions that you use. The easiest way is to use a Python installation with the proper deployment target, I use the following configure line to build a Python framework that I can use on OSX 10.5: > > $ ../configure --enable-framework --with-framework-name=Python105 --enable-universalsdk=/ --with-universal-archs=intel MACOSX_DEPLOYMENT_TARGET=10.5 > > Then install all libraries that you use in Python105.framework and use that to create the application. Excellent, I'll try that next. Zac |