mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
Updated to include the numpy.jam module
This commit is contained in:
@@ -1,23 +1,11 @@
|
||||
import os ;
|
||||
import indirect ;
|
||||
import modules ;
|
||||
import feature ;
|
||||
import python ;
|
||||
import numpy ;
|
||||
|
||||
using python ;
|
||||
|
||||
libraries = ;
|
||||
|
||||
local rule probe ( python-cmd )
|
||||
{
|
||||
local full-cmd =
|
||||
$(python-cmd)" -c \"from numpy.distutils import misc_util; print misc_util.get_numpy_include_dirs()" ;
|
||||
|
||||
local output = [ shell-cmd $(full-cmd) ] ;
|
||||
return $(output) ;
|
||||
}
|
||||
|
||||
|
||||
#How will the probe command be called ?
|
||||
|
||||
if [ python.configured ]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user