$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Bulding Boost.Python on OSX
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-24 20:37:14
AMDG
Z. S. O. wrote:
> On Tue, Feb 24, 2009 at 3:56 PM, Steven Watanabe <watanabesj_at_[hidden]
> <mailto:watanabesj_at_[hidden]>> 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 *"?
I think that would work. The PYTHONPATH variable controls where
python looks for extension modules as well as plain .py modules.
In Christ,
Steven Watanabe