diff options
author | David Cournapeau <cournape@gmail.com> | 2011-03-16 05:51:50 -0700 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2011-08-29 00:32:24 +0200 |
commit | 1566df7351a7261101703d152cfbe51fa4bd8e2b (patch) | |
tree | 9298c75a8d476dc5f88ec4aeeda46eca48dab4a7 /numpy/fft | |
parent | 37396fc97b78bbf30e79c6651c40f5aed5b26808 (diff) | |
download | numpy-1566df7351a7261101703d152cfbe51fa4bd8e2b.tar.gz |
ENH: remove temporary hacks for recurse path settings.
Diffstat (limited to 'numpy/fft')
-rw-r--r-- | numpy/fft/bscript | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/numpy/fft/bscript b/numpy/fft/bscript index a0d969e02..2c6a0fe1e 100644 --- a/numpy/fft/bscript +++ b/numpy/fft/bscript @@ -7,22 +7,12 @@ from bento.commands.hooks \ @pre_build() def build(context): bld = context.waf_context - old_path = bld.path - bld.path = old_path.find_dir(context.local_node.path_from(context.top_node)) - assert bld.path.__class__ == old_path.__class__ - - # FIXME: there has to be a better way to refer to numpy/core include - includes = [ - os.path.join(bld.srcnode.path_from(bld.path), "numpy/core"), - os.path.join(bld.srcnode.path_from(bld.path), "numpy/core/include"), - os.path.join(bld.srcnode.path_from(bld.path), "numpy/core/include/numpy"), - os.path.join(bld.srcnode.path_from(bld.path), "numpy/core/src/private")] def build(bld, extension): + includes = ["../core/include", "../core/include/numpy", "../core", + "../core/src/private"] bld(features="c cshlib pyext", target=extension.name, source=extension.sources, includes=includes) context.register_builder("fftpack_lite", build) - - bld.path = old_path |