summaryrefslogtreecommitdiff
path: root/bscript
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2011-08-28 00:25:14 +0200
committerDavid Cournapeau <cournape@gmail.com>2011-08-29 00:32:28 +0200
commit3763b5778b19ced9168c5d6234ef4daf961910ea (patch)
tree93443b0168122762efe6cb89225ac3dd8c72b4c4 /bscript
parent322c67e5df62284b2cb5b2095e6f45e2733f009a (diff)
downloadnumpy-3763b5778b19ced9168c5d6234ef4daf961910ea.tar.gz
MISC: add cavead on top bscript.
Diffstat (limited to 'bscript')
-rw-r--r--bscript32
1 files changed, 32 insertions, 0 deletions
diff --git a/bscript b/bscript
index e6975f4cd..1ca65f12e 100644
--- a/bscript
+++ b/bscript
@@ -1,3 +1,35 @@
+"""
+To build numpy with bento, you currently need to do the following::
+
+ # get recent bento and bootstrap it::
+ git clone http://github.com/cournape/Bento.git $BENTO_ROOT
+ (cd $BENTO_ROOT && python bootstrap.py)
+ # get special waf branch
+ git clone http://github.com/cournape/waf.git $WAF_ROOT
+ (cd $WAF_ROOT && git checkout fix_macosx_python)
+ # Tell bento where to look for waf
+ export WAFDIR=$WAF_ROOT
+ # Install numpy in the default location (you can list files to be installed
+ # with --list-files option first to check)
+ $BENTO_ROOT/bentomaker install
+
+Caveats:
+
+ - no automatic detection for BLAS/LAPACK/etc... You need to set it up
+ manually for now (except on Mac OS X and Debian/Ubuntu). The upside is
+ that it is extremely easy to do so
+ - bento is still in flux, and some things may changes between releases.
+
+Things to try out::
+
+ # parallel builds should work easily
+ $BENTO_ROOT/bentomaker build -j8
+ # Verbose output for build
+ $BENTO_ROOT/bentomaker build -v
+ # Progress-based output
+ $BENTO_ROOT/bentomaker build -p
+"""
+
import os
import sys
import shutil