Robert Dailey wrote:

my_package/
   module1/
   module2/
   module3/

However, the Boost.Python documentation only explains one specific way
of doing this, and that involves actually having PYD files for module1,
module2, and module3. Since this is all done from C++, I need to be able
to create this package without depending on the filesystem. Is this
possible?

I don't think so. While you certainly can embed multiple modules into the same executable, you can't embed a hierarchical structure like the one you seem to want, as Python has strict expectations as to what qualifies as a 'package'.

Regards,
      Stefan

--

     ...ich hab' noch einen Koffer in Berlin...

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to