Installation¶
You can install it with pip:
pip install pyGRBaglow
It requires a compiler because of the usage of cython and openmp.
On MacOs, if it fails check if you have installed llvm and libomp. Otherwise intall them:
brew install llvm libomp
export CPP=/usr/local/opt/llvm/bin/clang;
For Windows, only thing I know is that it builds successfully in Travis. So if installation using pip fails, look at the setup.py to have information about the compiler flags and build it yourself.
Installation from sources¶
The sources for pyGRBaglow can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/dcorre/pyGRBaglow
Or download the tarball:
$ curl -OL https://github.com/dcorre/pyGRBaglow/tarball/master
You can now install it with:
$ python setup.py [develop | install]
develop if you want to add modifications to the code. install otherwise.