Imported Upstream version 1.51.0
[platform/upstream/boost.git] / tools / build / v2 / example / python_modules / python_helpers.jam
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
5 import modules ;
6 local here = [ modules.binding $(__name__) ] ;
7 here = $(here:D) ;
8 modules.poke : EXTRA_PYTHONPATH : $(here) ;
9
10 # Import the Python rules to Boost.Build
11 PYTHON_IMPORT_RULE python_helpers : test1 : python_helpers : test1 ;
12 PYTHON_IMPORT_RULE python_helpers : test2 : python_helpers : test2 ;
13
14 # Make the new rules accessible to everybody who imports us.
15 EXPORT python_helpers : test1 test2 ;