garnumpy, to easily build numpy from sources without root access
Garnumpy is a set of gar scripts to build numpy (and scipy) almost from scratch, from sources, on a unix system:
- It only assumes you have a C and Fortran compiler, as well as a python interpreter
- It fetch automatically the sources from Internet
- The versions of supported softwares are known to match
- Can install a self-contained numpy/scipy environment anywhere in your filesystem: to remove it, you just rm -rf the directory
Download
Garnumpy can be downloaded on github.com:
http://github.com/cournape/garnumpy/tree/master
Tarballs generated from the git repository are automatically built by github
Usage
Please look at the README for some information. If you are happy with the default (using gfortran, and netlib BLAS/LAPACK), you can simply do:
# Download everything make garchive # Build scipy (cd platform/scipy && make install) # Source the environment to have access to the installed numpy/scipy: source startnumpy.sh # You should know be able to use numpy/scipy from python: