summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BENTO_BUILD.txt19
-rw-r--r--bscript23
2 files changed, 20 insertions, 22 deletions
diff --git a/BENTO_BUILD.txt b/BENTO_BUILD.txt
new file mode 100644
index 000000000..a4c3ba35b
--- /dev/null
+++ b/BENTO_BUILD.txt
@@ -0,0 +1,19 @@
+No-frill version:
+
+ * Clone bento::
+
+ git clone git://github.com/cournape/Bento.git bento-git
+
+ * Bootstrap bento::
+
+ cd bento-git && python bootstrap.py
+
+ * Download waf from svn (svn >= r11575 is required)
+ * Build numpy with bento:
+
+ export WAFDIR=ROOT_OF_WAF_SVN_TRUNK # WAFDIR should be such as $WAFDIR/waflib exists
+ $BENTO_ROOT/bentomaker build -j 4 # 4 threads in parallel
+ # or with progress bar
+ $BENTO_ROOT/bentomaker build -p
+ # or with verbose output
+ $BENTO_ROOT/bentomaker build -v
diff --git a/bscript b/bscript
index 3a7e5961d..c585a0887 100644
--- a/bscript
+++ b/bscript
@@ -1,17 +1,5 @@
"""
-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
+See BENTO_BUILD.txt.
Caveats:
@@ -19,15 +7,6 @@ Caveats:
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