• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright Stefan Seefeld 2016.
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import python ;
7
8if ! [ python.configured ]
9{
10  ECHO "warning: no Python configured in user-config.jam" ;
11  ECHO "warning: will use default configuration" ;
12  using python ;
13}
14
15# Adjust the following if Boost.Python isn't installed in a default location
16lib boost_python ;
17
18project
19  : requirements
20#    <include>/path/to/boost/python
21    <library>boost_python
22;
23
24rule run-test ( test-name : sources + )
25{
26  import testing ;
27  testing.make-test run-pyd : $(sources) : : $(test-name) ;
28}
29
30build-project quickstart ;
31build-project tutorial ;
32if [ python.numpy ]
33{
34  build-project numpy ;
35}
36