Skip to content

Commit

Permalink
changes in pycamb installation (reverted from commit 8db9cfc)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Feb 19, 2016
1 parent 8db9cfc commit 0f937db
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Directory that pycamb source will live in>
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
<https://github.com/steven-murray/hmf/tree/develop>`_.
<https://github.com/steven-murray/hmf.git>`_.

Basic Usage
-----------
Expand Down

0 comments on commit 0f937db

Please sign in to comment.