[Pyobjc-dev] TableModel2 comitted
Brought to you by:
ronaldoussoren
From: Bill B. <bb...@co...> - 2002-09-26 04:12:36
|
I "ported" Ronald's TableModel into a Project Builder project. It is committed into the repository under Examples/TableModel2 (original name, huh?). The conversion is fairly straightforward -- the key is in the implementation of the main function. Outside of the four or five steps necessary to configure the project, everything else should "just work" as it would in a normal Cocoa application. I also discovered that the Python that Apple distributes in incomplete -- it lacks a library (static or dynamic) to link against. Unfortunately, this means that you have to have some alternative distribution of python installed -- Fink's works nicely and I'm sure the framework build of Python will work equally as well (actually -- the one advantage of the Framework build is the integration with Project Builder when compensating for Apple's incomplete distribution of Python). Bummer on that -- appropriate bugs have been reported. If you miss readline support from Apple's distribution of Python (not an oversight on Apple's part, but due to the non-free nature of the GPL), I hacked together a setup.py that can build/install the readline module into Apple's python distribution: http://radio.weblogs.com/0100490/2002/09/25.html#a283 b.bum |