summaryrefslogtreecommitdiff
path: root/numpy/linalg
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2011-03-16 05:51:50 -0700
committerDavid Cournapeau <cournape@gmail.com>2011-08-29 00:32:24 +0200
commit1566df7351a7261101703d152cfbe51fa4bd8e2b (patch)
tree9298c75a8d476dc5f88ec4aeeda46eca48dab4a7 /numpy/linalg
parent37396fc97b78bbf30e79c6651c40f5aed5b26808 (diff)
downloadnumpy-1566df7351a7261101703d152cfbe51fa4bd8e2b.tar.gz
ENH: remove temporary hacks for recurse path settings.
Diffstat (limited to 'numpy/linalg')
-rw-r--r--numpy/linalg/bscript14
1 files changed, 2 insertions, 12 deletions
diff --git a/numpy/linalg/bscript b/numpy/linalg/bscript
index ade32a932..828e226e8 100644
--- a/numpy/linalg/bscript
+++ b/numpy/linalg/bscript
@@ -7,16 +7,6 @@ from bento.commands.hooks \
@pre_build()
def pbuild(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_lapack_lite(bld, extension):
kw = {}
@@ -26,10 +16,10 @@ def pbuild(context):
extension.sources.pop(extension.sources.index(s))
kw["uselib"] = "LAPACK"
+ includes = ["../core/include", "../core/include/numpy", "../core",
+ "../core/src/private"]
bld(features="c cshlib pyext",
target=extension.name,
source=extension.sources,
includes=includes, **kw)
context.register_builder("lapack_lite", build_lapack_lite)
-
- bld.path = old_path