March 28, 2005
1:29 a.m.
Hi, is it possible to define python sub-modules with boost.python? BOOST_PYTHON_MODULE(out) { BOOST_PYTHON_MODULE(in) { def("f", &f) } } ---
import out.in out.in.f()
Or something like that? What is the correct way of doing that? I thought that if we could do it separate BOOST_PYTHON_MODULE(out) { } (out.cpp -> out.so) BOOST_PYTHON_MODULE(in) { def("f", &f) } (in.cpp -> in.so) and place them like .../site-packages/ out/ __init__.py out.so in/ __init__.py in.so Anyway, what is the "correct" way of doing that? [Eric Jardim]
7748
Age (days ago)
7748
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Jardim