Installation
Installation¶
Stable release¶
To install nzshm-model, run one of these commands in your terminal:
using pip¶
$ pip install nzshm-model
using poetry¶
$ poetry add nzshm-model
These are the preferred method to install nzshm-model, as they will always install the most recent stable release.
From source¶
The source for nzshm-model can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone https://github.com/GNS-Science/nzshm-model.git
Or download the tarball:
$ curl -OJL https://github.com/GNS-Science/nzshm-model/tarball/master
Once you have a copy of the source, you can install it with:
$ pip install .
$ poetry install