summaryrefslogtreecommitdiff
path: root/bscript
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2012-05-18 14:02:47 +0100
committerDavid Cournapeau <cournape@gmail.com>2012-05-18 14:02:47 +0100
commit4fce387ddca6f2e68ae3fa5c21778fceeb636426 (patch)
treeaf2235c97037163c77576ca58bb1d9dbbeb55f52 /bscript
parent35f735d8e001cda6f28f98b31ced5190ff06ef77 (diff)
downloadnumpy-4fce387ddca6f2e68ae3fa5c21778fceeb636426.tar.gz
ENH: use custom_python instead of built-in waf tool.
Diffstat (limited to 'bscript')
-rw-r--r--bscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/bscript b/bscript
index 22c7802b2..5b0df20be 100644
--- a/bscript
+++ b/bscript
@@ -22,6 +22,7 @@ import __builtin__
__builtin__.__NUMPY_SETUP__ = True
from bento.commands import hooks
+from bento.backends import waf_backend
import waflib
@@ -109,7 +110,7 @@ def pre_configure(context):
conf = context.waf_context
conf.load("compiler_c")
- conf.load("python")
+ conf.load("custom_python", tooldir=[waf_backend.WAF_TOOLDIR])
conf.check_python_version((2, 4, 0))
conf.check_python_headers()