Boost logo

Boost-Build :

Subject: Re: [Boost-build] building bjam with python support
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-25 13:09:38


On Tuesday 21 October 2008 21:04:07 David Montgomery wrote:
>
> Hi,
>
> Thanks...that helped...
> I am now trying to build the example "python_modules" in the examples in the /tools/build/v2/example folder
>
> Below is the error I get....
>
> All I did is type bjam in the folder.....
>
> bjamImportError: No module named python_helpers

Bummer, this used to work. Either Python no longer searches in current folder by default, or
something changed.

I've modified the example so that it works again -- please update from SVN and try again.
Note that the EXTRA_PYTHONPATH variable python_helper.jam is transferred to Python first
time a python module is imported, and further changes to that variable have no effect.
If you're planning extensive use of Python, I'd recommend setting EXTRA_PYTHONPATH in
Jamroot.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk