From 6a657c3ac36738687f840d2d53b8afcd6aacbdda Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 25 Oct 2008 17:05:51 +0000 Subject: [PATCH] Make python integration example work again [SVN r49452] --- v2/example/python_modules/python_helpers.jam | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2/example/python_modules/python_helpers.jam b/v2/example/python_modules/python_helpers.jam index d6363af67..5a79aeebf 100644 --- a/v2/example/python_modules/python_helpers.jam +++ b/v2/example/python_modules/python_helpers.jam @@ -2,6 +2,11 @@ # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) +import modules ; +local here = [ modules.binding $(__name__) ] ; +here = $(here:D) ; +modules.poke : EXTRA_PYTHONPATH : $(here) ; + # Import the Python rules to Boost.Build PYTHON_IMPORT_RULE python_helpers : test1 : python_helpers : test1 ; PYTHON_IMPORT_RULE python_helpers : test2 : python_helpers : test2 ;