1# Copyright 2006 Vladimir Prus 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 4 5import modules ; 6local here = [ modules.binding $(__name__) ] ; 7here = $(here:D) ; 8modules.poke : EXTRA_PYTHONPATH : $(here) ; 9 10# Import the Python rules to B2 11PYTHON_IMPORT_RULE python_helpers : test1 : python_helpers : test1 ; 12PYTHON_IMPORT_RULE python_helpers : test2 : python_helpers : test2 ; 13 14# Make the new rules accessible to everybody who imports us. 15EXPORT python_helpers : test1 test2 ; 16