Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-04-16 16:12:27

Alex Besogonov wrote:
> David Abrahams wrote:
> >> Dave: is there any howto/wiki-style documentation for building BJam
> >> with Python support and (1) importing a Python module into a
> >> Jamfile/*.jam file and writing a Jamfile/*.jam file in Python?
> > The information is somewhere, but I don't remember where -- maybe this
> > list -- and I've never done it myself.
> Yes, it's here:


I have a few problems with adding Python support:

(1) If I run:
   build.bat --with-python=c:\python24
I get:

C:\dev\tools\jam>.\bootstrap\jam0 -f build.jam --toolset=vc8 "--toolset-root=C:\
Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\ " --with-python

Notice that the '=' in the argument has disappeared.

(2) Once I get this to work - by adding the argument directly into build.jam - I get the warning:

builtins.c(1635) - warning: not all control paths return a value

I believe this should be:
   return Py_None;

- Reece
Express yourself instantly with MSN Messenger! Download today it's FREE!

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at