Table of Contents
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.
# 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
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 latest Kotori release with extra feature "daq" pip install kotori[daq] --extra-index-url=https://packages.elmyra.de/elmyra/foss/python/ --upgrade
pip install --editable git+https://github.com/zerotired/kotori.git#egg=kotori[daq]