.. SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute .. .. SPDX-License-Identifier: BSD-3-Clause .. _clapper.install: ============== Installation ============== Installation may follow one of two paths: deployment or development. Choose the relevant tab for details on each of those installation paths. .. tab:: Deployment (pip/uv) Install using pip_, or your preferred Python project management solution (e.g. uv_, rye_ or poetry_). **Stable** release, from PyPI: .. code:: sh pip install clapper **Latest** development branch, from its git repository: .. code:: sh pip install git+https://github.com/idiap/clapper@main .. tab:: Deployment (pixi) Use pixi_ to add this package as a dependence: .. code:: sh pixi add clapper .. tab:: Development Checkout the repository, and then use pixi_ to setup a full development environment: .. code:: sh git clone git@github.com:idiap/clapper pixi install --frozen .. tip:: The ``--frozen`` flag will ensure that the latest lock-file available with sources is used. If you'd like to update the lock-file to the latest set of compatible dependencies, remove that option. If you use `direnv to setup your pixi environment `_ when you enter the directory containing this package, you can use a ``.envrc`` file similar to this: .. code:: sh watch_file pixi.lock export PIXI_FROZEN="true" eval "$(pixi shell-hook)" .. include:: links.rst