[Distutils] Sharing code between C extensions

Anders J. Munch andersjm@dancontrol.dk
Tue Oct 22 05:41:01 2002


From: "Jack Jansen" <Jack.Jansen@oratrix.com>
> 
> On maandag, oktober 21, 2002, at 01:27 , Anders J. Munch wrote:
> > What I'd like to do is to have multiple C extensions in the same .pyd.
> 
> All attempts to do this lead to disaster. 

Whoa, did you burn down your house trying or something? ;->

>If it isn't on your 
> platform it is on another one. And the same is true for multiple 
> .pyd files, each containing a single module, that link against 
> each other. (I know: been there, done that:-)

Now this is just for in-house use, so I'm going with the half-baked
solution calling inits from inits, unless you can point to some
disaster that will happen even on a single (Win32) platform.  I
presume you were trying for a complete and portable solution.

- Anders