Download the project source or clone the repository https://github.com/ckald/pyBBN
git clone https://github.com/ckald/pyBBN.git
Install dependencies using OS package manager and pip (usually preinstalled on Linux and Mac OS X along with the standard CPython 2.7+ interpreter)
sudo aptitude install libblas-dev liblapack-dev python-dev gfortran
brew install scipy
sudo pip install -r requirements.txt
To run some script in the context of the code, one should temporarily alter the PYTHONPATH
environment variable:
PYTHONPATH=. python some_script.py
For example, to run the cosmic neutrino background temperature test:
PYTHONPATH=. python tests/cosmic_neutrino_temperature