Hmm, I've made some progress but not quite there. If you cd to the directory with extending.so and bring up the python interpreter, typing "from extending import *" leads to the following:
AMDG
Z. S. O. wrote:
I think that would work. The PYTHONPATH variable controls whereOn Tue, Feb 24, 2009 at 3:56 PM, Steven Watanabe <watanabesj@gmail.com <mailto:watanabesj@gmail.com>> wrote:
The shared library seems to build ok. Does bjam hang if you just
build it? bjam toolset=darwin embedding
That command works fine, no hanging at all. It also works if I do "bjam toolset=darwin extending". How would I go about importing this shared library into a python script? Is it as making a python script in the same directory as the .so file, and typing "from extending import *"?
python looks for extension modules as well as plain .py modules.
In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users