[C++-sig] multiple modules per dll/so?

Michael Schuitema michaelschuitema at gmail.com
Wed Mar 14 17:45:37 CET 2012


I would like to create a python package with several submodules, eg

parent
parent.child1
parent.child2

A number of the submodules use C++ extension made available via
boost.python. Do I need to create a separate dll for each of them or is
there a way to expose several packages with one dll?

Can I have

BOOST_PYTHON_MODULE(child1)
BOOST_PYTHON_MODULE(child2)
etc

in a single dll.

Cheers, mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20120314/e06584b7/attachment.html>


More information about the Cplusplus-sig mailing list