Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4fce387

Browse files
committed
ENH: use custom_python instead of built-in waf tool.
1 parent 35f735d commit 4fce387

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import __builtin__
2222
__builtin__.__NUMPY_SETUP__ = True
2323

2424
from bento.commands import hooks
25+
from bento.backends import waf_backend
2526

2627
import waflib
2728

@@ -109,7 +110,7 @@ def pre_configure(context):
109110
conf = context.waf_context
110111

111112
conf.load("compiler_c")
112-
conf.load("python")
113+
conf.load("custom_python", tooldir=[waf_backend.WAF_TOOLDIR])
113114

114115
conf.check_python_version((2, 4, 0))
115116
conf.check_python_headers()

0 commit comments

Comments
 (0)