Python package


Setting up Kotori as Python package is suitable for general Hacking on Kotori or for installing on platforms where there’s no native distribution package available yet.

Kotori can be installed in different variants.

Python Eggs can be installed into virtualenvs and into the system, both in editable and non-editable modes.

Get ready


# Prepare system
apt install build-essential libffi-dev libssl-dev python-dev python-pip python-virtualenv


Installing Kotori with pip inside a Python virtualenv would be perfect when playing around. You will not need root permissions and the Python libraries of your system distribution will stay completely untouched. See next section for how to setup a Python virtulenv environment. See also Hacking on Kotori for getting hold of the git repository when installing from source.

# Create virtualenv
make virtualenv

# Activate virtualenv
source .venv27/bin/activate


Install from package repository

# Install latest Kotori release with extra feature "daq"
pip install kotori[daq] --extra-index-url= --upgrade

Install from git repository

pip install --editable git+[daq]

Install a particular source archive file

pip install