diff options
author | David Cournapeau <cournape@gmail.com> | 2012-04-13 11:26:45 +0100 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2012-04-13 11:28:37 +0100 |
commit | 59019f1493d311c11e758b75e11653b34f7b7bad (patch) | |
tree | a25e4a7f7bc7326a61b2ae1eb3585183772eccd9 | |
parent | 0c5f480f2db3566a1add20a2f286e6b7e9608c94 (diff) | |
download | numpy-59019f1493d311c11e758b75e11653b34f7b7bad.tar.gz |
FEAT: update to last bento+waf.
-rw-r--r-- | bento.info | 2 | ||||
-rw-r--r-- | bscript | 12 | ||||
-rw-r--r-- | numpy/build_utils/waf.py | 2 |
3 files changed, 2 insertions, 14 deletions
diff --git a/bento.info b/bento.info index 4f5057263..f8f0257ae 100644 --- a/bento.info +++ b/bento.info @@ -70,8 +70,8 @@ DataFiles: tests testing/tests/*.py HookFile: bscript - Recurse: numpy +UseBackends: Waf Library: Packages: @@ -26,9 +26,6 @@ from bento.installed_package_description \ import \ InstalledSection from bento.commands import hooks -from bento.commands.extras.waf \ - import \ - ConfigureWafContext, BuildWafContext, register_options import waflib @@ -202,12 +199,3 @@ def show(): pass """, always=True) - -@hooks.options -def options(context): - register_options(context) - -@hooks.startup -def startup(context): - context.register_context("configure", ConfigureWafContext) - context.register_context("build", BuildWafContext) diff --git a/numpy/build_utils/waf.py b/numpy/build_utils/waf.py index c1eb23801..051cf27e0 100644 --- a/numpy/build_utils/waf.py +++ b/numpy/build_utils/waf.py @@ -497,7 +497,7 @@ def define_cond(self, name, value, comment): self.undefine(name) @waflib.Configure.conf -def get_config_header(self, defines=True, headers=False): +def get_config_header(self, defines=True, headers=False, define_prefix=None): """ Create the contents of a ``config.h`` file from the defines and includes set in conf.env.define_key / conf.env.include_key. No include guards are added. |