Installation ============ Installation can be done using package manager `pip `_ and python's virtual environment module `venv `_. 1. Note the directory where **TEMPO** can be found. For this guide, it is located in ``/path/to/TEMPO``. 2. Create a virtual environment (named ``venv1`` here), then activate the environment:: python -m venv venv1 source venv1/bin/activate 3. Install dependencies:: pip install /path/to/TEMPO 4. (Optional) If using Jupyter notebook examples found in ``/path/to/TEMPO/examples``, create kernel for notebook use:: ipython kernel install --user --name=venv1 Alternatively, other environment & package managers can also be used. See below for installation steps using `conda `_. 1. Run the following to ensure all required packages can be discovered:: conda config --append channels conda-forge 2. Build an environment with conda, and install packages:: conda create --name YOUR_ENV_NAME python=3.**.** conda activate YOUR_ENV_NAME conda install --file /path/to/TEMPO/requirements.txt Your python version should be version 3, python2 is not supported. Tests ============ After installation, unit tests can be performed using the `pytest `_ package. 1. Install pytest:: pip install pytest 2. Run tests:: pytest /path/to/TEMPO/tempo/tests.py