############
Installation
############

..todo:: Links to PyPI release

|cykdtree| can be installed from either PyPI using ``pip``::

   $ pip install cykdtree

or by cloning the `Mercurial <https://mercurial.selenic.com/>`_ Bitbucket `repository <https://bitbucket.org/langmm/cykdtree>`_::

   $ hg clone https://[username]@bitbucket.org/[username]/cykdtree

and then building the distribution.::

   $ cd cykdtree
   $ python setup.py install

If you do not have admin privileges on the target machine, ``--user`` can be added to either the ``pip`` or ``setup.py`` installation commands.
