Developer Installation#
Using conda (Recommended)#
If you wish to contribute to TJPCov, follow the steps below to set up your development environment.
Clone the repository
Create the conda environment with
conda env create --file environment.yml
Activate the environment with
conda activate tjpcov
Run
pip install -e .
Run
pytest -vv tests/
Using pip#
Clone the repository
Run
pip install -e .
Run
pytest -vv tests/
Warning
NaMaster installation (pip only).
If you are using PyPi to set up your development environment (we recommend using conda instead), due to a bug in the NaMaster installation, one needs to make sure numpy is installed before trying to install NaMaster.
For a fresh install, run pip install .
first, and then pip install .[nmt]