Installation#
With pip (recommended)#
To install the latest stable version using pip, use
python -m pip install cosmology.api
To install the latest development version, use:
python -m pip install git+https://github.com/cosmology-api/cosmology.api
From Source: Cloning, Building, Installing#
The latest development version of cosmology-api can be cloned from GitHub using git
git clone https://github.com/cosmology-api/cosmology.api.git
To build and install the project (from the root of the source tree, e.g., inside
the cloned cosmology.api directory)
python -m pip install [-e] .
Python Dependencies#
This package has the following dependencies:
Python >= 3.9
Explicit version requirements are specified in the project pyproject.toml.
pip and conda should install and enforce these versions automatically.