summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/bscript4
-rw-r--r--numpy/fft/bscript2
-rw-r--r--numpy/lib/bscript2
-rw-r--r--numpy/linalg/bscript2
-rw-r--r--numpy/random/bscript2
5 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/bscript b/numpy/core/bscript
index 4ed264c78..961c3844e 100644
--- a/numpy/core/bscript
+++ b/numpy/core/bscript
@@ -250,7 +250,7 @@ def check_complex(conf):
for t in C99_COMPLEX_TYPES:
NUMPYCONFIG_SYM.append(('DEFINE_NPY_HAVE_%s' % numpy.build_utils.waf.sanitize_string(t), ''))
-@pre_configure()
+@pre_configure
def configure(context):
conf = context.waf_context
@@ -377,7 +377,7 @@ def process_umath_generator(self):
return tsk
from os.path import join as pjoin
-@pre_build()
+@pre_build
def pbuild(context):
bld = context.waf_context
diff --git a/numpy/fft/bscript b/numpy/fft/bscript
index 67a367950..b59f3b007 100644
--- a/numpy/fft/bscript
+++ b/numpy/fft/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def build(context):
bld = context.waf_context
diff --git a/numpy/lib/bscript b/numpy/lib/bscript
index 1b98d2fa2..45699a335 100644
--- a/numpy/lib/bscript
+++ b/numpy/lib/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def pbuild(context):
bld = context.waf_context
def builder_compiled_base(extension):
diff --git a/numpy/linalg/bscript b/numpy/linalg/bscript
index 684e29101..889deb693 100644
--- a/numpy/linalg/bscript
+++ b/numpy/linalg/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def pbuild(context):
bld = context.waf_context
diff --git a/numpy/random/bscript b/numpy/random/bscript
index 371f30a2a..85f191f2d 100644
--- a/numpy/random/bscript
+++ b/numpy/random/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def build(context):
bld = context.waf_context