Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49452 - trunk/tools/build/v2/example/python_modules
From: ghost_at_[hidden]
Date: 2008-10-25 13:05:52


Author: vladimir_prus
Date: 2008-10-25 13:05:51 EDT (Sat, 25 Oct 2008)
New Revision: 49452
URL: http://svn.boost.org/trac/boost/changeset/49452

Log:
Make python integration example work again
Text files modified:
   trunk/tools/build/v2/example/python_modules/python_helpers.jam | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/example/python_modules/python_helpers.jam
==============================================================================
--- trunk/tools/build/v2/example/python_modules/python_helpers.jam (original)
+++ trunk/tools/build/v2/example/python_modules/python_helpers.jam 2008-10-25 13:05:51 EDT (Sat, 25 Oct 2008)
@@ -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 ;


Boost-Commit 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