Build Requirements
------------------
* `Python >= 2.6 <http://python.org>`__
* `Numpy >= 1.7.2 <http://numpy.scipy.org/>`__
* `Cython >= 0.23 <http://www.cython.org/>`__
* `Six >=1.4 <https://pypi.python.org/pypi/six>`__
* `SciPy >=0.9 <http://scipy.org>`__

Runtime requirements
--------------------
* `Python >= 2.6 <http://python.org>`__
* `Numpy >= 1.7.2 <http://numpy.scipy.org/>`__
* `SciPy >= 0.9 <http://scipy.org>`__
* `Matplotlib >= 1.1.0 <http://matplotlib.sf.net>`__
* `NetworkX >= 1.8 <https://networkx.github.io>`__
* `Six >=1.4 <https://pypi.python.org/pypi/six>`__
* `Pillow >= 1.7.8 <https://pypi.python.org/pypi/Pillow>`__
    (or `PIL <http://www.pythonware.com/products/pil/>`__)
* `dask[array] >= 0.5.0 <http://dask.pydata.org/en/latest/>`__


You can use pip to automatically install the runtime dependencies as follows::

    $ pip install -r requirements.txt


Optional Requirements
---------------------
You can use this scikit with the basic requirements listed above, but some
functionality is only available with the following installed:

* `PyQt4 <http://wiki.python.org/moin/PyQt>`__
   The ``qt`` plugin that provides ``imshow(x, fancy=True)`` and `skivi`.

* `FreeImage <http://freeimage.sf.net>`__
   The ``freeimage`` plugin provides support for reading various types of
   image file formats, including multi-page TIFFs.

* `PyAMG <http://pyamg.org/>`__
   The ``pyamg`` module is used for the fast `cg_mg` mode of random
   walker segmentation.

* `Astropy <http://www.astropy.org>`__ provides FITS io capability.

* `SimpleITK <http://www.simpleitk.org/>`__
  Optional io plugin providing a wide variety of `formats <http://www.itk.org/Wiki/ITK_File_Formats>`__.
  including specialized formats using in medical imaging.

* `imread <http://pythonhosted.org/imread/>`__
  Optional io plugin providing most standard `formats <http://pythonhosted.org//imread/formats.html>`__.


Testing requirements
--------------------
* `Nose <https://nose.readthedocs.org/en/latest/>`__
      A Python Unit Testing Framework
* `Coverage.py <http://nedbatchelder.com/code/coverage/>`__
      A tool that generates a unit test code coverage report


Documentation requirements
--------------------------

`sphinx >= 1.3 <http://sphinx-doc.org/>`_ is required to build the
documentation.
