Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-08-10 03:40:14


David Abrahams wrote:

> Why is setting PYTHON_EXEC_ROOT better than setting PYTHON_INCLUDES
> as already supported and documented in
> http://www.boost.org/libs/python/doc/building.html#configuration
> ??

Well, the first reason is that I obviously didn't read the documentation
carefully enough. :-( Sorry about that.

But after trying the documented approach, I think the second reason is
that with the patch the usage is easier and more concise. Compare

bjam
-sTOOLS=gcc
-sPYTHON_ROOT=/net/camos/opt
-sPYTHON_INCLUDES="/net/camos/opt/include/python2.3
/net/camos/opt/exec/Linux-i686/include/python2.3"
-sPYTHON_VERSION=2.3
hello

to

bjam
-sTOOLS=gcc
-sPYTHON_ROOT=/net/camos/opt
-sPYTHON_EXEC_ROOT=/net/camos/opt/exec/Linux-i686
hello

What do you think?

> Also, if there is a reason to accept this patch, I would also like a
> documentation patch for the page mentioned above.

If you want to incorporate the patch I will post a patch for that page
as well. If not, I'm sorry for the noise.

Markus

 


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