Installing qp¶
For now the only installation type that is support is installing from source. Since qp
is all python code, this is pretty easy.
Installing from source¶
git clone https://github.com/LSSTDESC/qp.git
cd qp
pip install .
Installing for development¶
If you’re installing with the intention of developing qp
, you’ll need a few more steps.
Install MPI from source following these instructions. e.g.
sudo apt-get install mpich
Install all dependencies
git clone https://github.com/LSSTDESC/qp.git
cd qp
pip install -e .[dev]
Or for installing on a Mac:
pip install '.[dev]'
Run
pytest
to confirm that you can build and runqp
in your environment.