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 8# Adjust the following if Boost.Python isn't installed in a default location 9lib boost_numpy 10 : 11 : <search>/usr/local/Boost/lib 12 <include>/usr/local/Boost/include 13 ; 14 15project numpy 16 : requirements 17 <include>/usr/local/Boost/include 18 <library>boost_numpy 19 <location>. 20 ; 21 22exe simple : simple.cpp boost_numpy /python//python ; 23exe dtype : dtype.cpp boost_numpy /python//python ; 24exe ndarray : ndarray.cpp /python//python ; 25exe fromdata : fromdata.cpp /python//python ; 26exe ufunc : ufunc.cpp /python//python ; 27exe wrap : wrap.cpp /python//python ; 28 29python-extension gaussian : gaussian.cpp ; 30