Jim, thank you for your answer.

What if I have this big C++ project that I cannot split in multiple smaller
projects? I have no choice but to create a big Python module exposing all
the functions/classes? What is the common practice?

Regards,

Olivier

On Tue, Nov 15, 2011 at 9:24 AM, Jim Bosch <tallji...@gmail.com> wrote:

> On Nov 15, 2011 8:53 AM, "Olivier Voyer" <olivier.vo...@gmail.com> wrote:
> >
> > Hi everyone,
> >
> > Is it possible to have multiple modules linking to one single pyd file?
> I'm using SWIG with VS2010 and I can't find a way of doing that.
> >
>
> I believe this is not supported by the Python C-API itself, regardless of
> what wrapper generator or library you use.  The name of the module import
> function needs to be related to the loadable module file name, and you
> generally can't have two functions for which that's true.
>
> Jim
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig@python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to