[C++-sig] Multiple modules in a single pyd

Wichert Akkerman wichert at wiggy.net
Tue Nov 15 16:54:41 CET 2011


On 11/15/2011 04:52 PM, Olivier Voyer wrote:
> Bingo! But I'm not sure how to do that... at this moment I'm using 
> SWIG as a C++ wrapper. Do I only need to modify the __init__py file at 
> the root of my package?

Personally I don't have a single .py file for my extensions, I just drop 
in a single myPackage.so file (I don't use windows, but your equivalent 
is probably a .pyd file) which exports all modules.

Wichert.


More information about the Cplusplus-sig mailing list