To install xshape, run this command in your terminal:
$ pip install xshape
This is the preferred method to install xshape, as it will always install the most recent stable release.
The sources for xshape can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/ClimateImpactLab/xshape
Or download the tarball:
$ curl -OL https://github.com/ClimateImpactLab/xshape/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install