The easiest way to install panstamps is to use pip
(here we show the install inside of a conda environment):
conda create -n panstamps python=3.7 pip
conda activate panstamps
pip install panstamps
Or you can clone the github repo and install from a local version of the code:
git clone git@github.com:thespacedoctor/panstamps.git
cd panstamps
python setup.py install
To upgrade to the latest version of panstamps use the command:
pip install panstamps --upgrade
To check installation was successful run panstamps -v
. This should return the version number of the install.
panstamps uses pillow (a fork of the Python Imaging Library) which requires some external libraries.
If you have issues running panstamps on OSX, try installing Homebrew and running:
brew install libtiff libjpeg webp little-cms2
If you want to tinker with the code, then install in development mode. This means you can modify the code from your cloned repo:
git clone git@github.com:thespacedoctor/panstamps.git
cd panstamps
python setup.py develop
Pull requests are welcomed!