[Pythonmac-SIG] package structure for OSA interfaces

Jack Jansen Jack.Jansen@oratrix.nl
Wed, 23 Jan 2002 00:17:24 +0100


On Tuesday, January 22, 2002, at 04:19  PM, Michael J. Barber wrote:

> On Tuesday, January 22, 2002, at 02:13  PM, Jack Jansen wrote:
>
>>
>> Absolutely right. I had apparently reversed AEUT and AETE: 
>> AEUT is indeed OSA-supplied and AETE is the 
>> application-supplied extension.
>>
> In that case, I agree completely that that is the way to do it. 
> Transparent change in usage from the current version of 
> gensuitemodule, and generally more robust.
>
> To make sure we have the same thing in mind, I have made a 
> starting point for _builtin_Suite.py. I made it by assembling 
> bits and pieces from Standard_Suite and Required_Suite, 
> basically as I described before. It is at:
> <http://www.artsci.wustl.edu/~mjbarber/_builtin_Suite.py>

Thanks!

I'm about to check this stuff in. I've made two minor changes to 
your module (adding a reopen() call and changing the _code), and 
I've restructured things slightly: this module is now called 
builtin_Suite in a package _builtinSuites, with a handwritten 
__init__ module that maps both 'core' and 'reqd' to 
builtin_Suite. The advantage of this is that no magic is needed 
in gensuitemodule: builtinSuites is now simply the base package 
for StdSuites (as StdSuites is for all other suites).
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -