[Python-Dev] pyconfig.h and exec-prefix

Skip Montanaro skip@pobox.com
Thu, 24 Oct 2002 18:59:27 -0500


    >> Seems to me like boost::python needs to be able to point at both
    >> directories.  Maybe PYTHON_INCLUDES could be a colon-separated list
    >> of directories which gets broken up into multiple -I<dir> flags.  I
    >> suppose that sort of change is a bit late for v1?

    David> Considering that v2 was released a few weeks ago, that sounds
    David> about right ;-)

How about

    OTHER=<the other include directory
    make -n \
    | sed -e "s/-I$PYTHON_INCLUDES/-I$PYTHON_INCLUDES -I$OTHER/" \
    | sh -x

?  Depending on how the boost::python directory tree is organized, it just
might work.

Skip