Re: [Pyobjc-dev] 0.9
Brought to you by:
ronaldoussoren
From: Tony L. <to...@lo...> - 2003-02-01 20:03:00
|
Hi, At 2:15 PM -0500 2/1/03, Bill Bumgarner wrote: >As Just mentioned, it is about time to do a 0.9 release. Out of curiosity, will 0.9 be FFI only? >If we are going to do any major changes to the namespace, now is the time. > >I would like to see *everything* in pyobjc move into a 'pyobjc' >package... and have the other three/four packages hang below that. > >pyobjc.obj >pyobjc.foundation >pyobjc.appkit >pyobjc.addressbook lowercase for appkit and foundation? >... etc ... > >This will make for much easier packaging in app wrappers [simplifies >build targets] and much less clutter in site-packages. > >thoughts? FWIW, I am -0 1. The current flat nesting adds weight to the idea that Foundation and AppKit are big frameworks in their own right 2. This adds some text for every import (and there tend to be a lot in pyobjc programs) 3. Its not hard to package the modules in a subdirectory, using .pth files in /usr/lib/site-packages and with minimal extra code in bin-python-main.m. Hmm, and some extra code in bundlebuilder.py too, I think. OTOH, extra code somewhere is still extra code, and putting everything in a package doesn't require any extra code. 4. If I see "Declared in: AppKit/NSMatrix.h" in Apple's docs, I write: "from AppKit import NSMatrix". One-to-one correspondence! Just my 2 cents... -Tony |