Installation¶
I recommend using conda to install Python packages.
It comes shipped with Anaconda (or Miniconda for a smaller footprint), a Python
distribution that allows to quickly configure a specific Python environment (e.g. specific package versions etc..).
Create a new environment and activate it (choose an environment name you prefer, here
ppolis chosen):conda create -n ppol python=3.7 obspy pandas pyyaml -c conda-forge conda activate ppol
Go to your prefered folder and download the repository:
git clone https://gitlab.com/johnrobertscholz/ppol.git cd ppol
Install
ppol:pip install .
Good news, everything is installed and ready to use!
Remember to activate the ppol environment each time you want to use it.
If you’d like to introduce your own changes to the code, you may want to replace step 4 by:
Install
ppol:pip install -e .
thus creating symbolic links to the module files, avoiding having to re-compile after each code alteration.