Installation

Setup

We use virtualenv for developing; If you’re using a version of Python <= 3.4 on Linux provided by the system package manager, you’ll need to install an extra package:

# The following is for Ubuntu/Debian systems, you may need an
# equivilent package for RedHat/Fedora/CentOS
sudo apt-get install python3-venv

Note

You may find that virtualenvwrapper is a more convenient tool.

Create a virtualenv:

VENV_HOME="$HOME/.virtualenv"
mkdir -p "${VENV_HOME}"
VENV="${VENV_HOME}/azanium"
python3 -m venv "${VENV}"
# Activate the virtualenv (type deactivate to return to normal shell)
source "${VENV}/bin/activate"

Install the source code in “editable” mode.

Note

This means that we don’t have to re-install our package each time we make a change.

pip install --editable ".[dev]"