From 0f937dbf2ab3c850d80e3f0bc4ecbcd30030ea86 Mon Sep 17 00:00:00 2001 From: steven-murray Date: Fri, 19 Feb 2016 19:27:41 +0800 Subject: [PATCH] changes in pycamb installation (reverted from commit 8db9cfc961f67d62ca8dd682b0ac4751a10dbd2f) --- docs/index.rst | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index f6e6d51..f31838d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,17 +20,26 @@ numpy, scipy, scitools, cosmolopy and emcee. You will only need `emcee` if you are going to be using the fitting capabilities of `hmf`. The final, optional, library is pycamb, which can not be installed -using pip currently. - -Please see the readme at http://github.com/steven-murray/pycamb.git for up-to-date -installation instructions. +using pip currently. To install pycamb:: + + cd + git clone https://github.com/steven-murray/pycamb + cd pycamb + [sudo] python setup.py install [--get=www.address-where-camb-code-lives.org] + +The final command gives the option of automatically downloading and +compiling CAMB while installing pycamb. It cannot be done more automatically +at this point due to licensing. Alternatively, if one does not know the +location of the camb downloads, go to camb.info and follow the instructions. +Download the source directory to your pycamb folder, and untar it there. +Then use ``python setup.py install" and it should work. .. note :: At present, versions of CAMB post March 2013 are not working with `pycamb`. Please use earlier versions until further notice. Finally the `hmf` package needs to be installed: ``pip install hmf``. If you want to install the latest build (not necessarily stable), grab it `here -`_. +`_. Basic Usage -----------