At the command line either via easy_install or pip:
pip install trianglechain
or to get the latest release:
pip install git+https://cosmo-gitlab.phys.ethz.ch/cosmo_public/trianglechain.git