On 3/20/08, Ronald Oussoren <ronaldoussoren@mac.com> wrote:

On 19 Mar, 2008, at 23:09, Adam Atlas wrote:
> Using the Apple-supplied PyObjC in 10.5, is it possible to develop
> applications that will run on 10.4? If I set it to use the 10.4u SDK,
> it builds just fine and doesn't complain, but it obviously won't
> actually run on 10.4 because the resulting .app bundle does not
> contain the Python/PyObjC binaries and support files. How do I work
> around this? Would I need to install some other distribution of
> PyObjC? Or am I just missing some build setting or somesuch?


The binaries that are included with 10.5 won't work on 10.4.

pyobjc-core in the repository should work on 10.4, but the framework
wrappers do not due to lack of bridgesupport files.

I replied earlier, but I suppose my reply went directly to Adam only.

If you have a 10.4 installation around that had PyObjC installed, you can grab enough pieces from it to do PyObjC 1.4 development with Python 2.3 while running Leopard. The results are Tiger and Leopard compatible.

Details, caveats, and limitations here: http://www.kamit.com/blog-entry/2008/02/16/backwards-compatible-pyobjc-development-leopard

Of course, that doesn't include the improvements made in PyObjC 2.0. But at least it fills the gap for now, and it's as good as you could get developing on Tiger.

--
Kevin A. Mitchell
http://www.kamit.com/