============
Installation
============

Dependencies
============

    * Python >= 3.4
    * numpy_ >= 1.12
    * (optional) scipy_ >= 0.17

Installing from the Python Package Index
========================================

If you have pip_ installed::

    $ pip install lazyarray

This will automatically download and install the latest release (you may need
to have administrator privileges on the machine you are installing on).

To download and install manually, download:

    https://pypi.python.org/packages/source/l/lazyarray/lazyarray-0.5.0.tar.gz

Then::

    $ tar xzf lazyarray-0.5.0.tar.gz
    $ cd lazyarray-0.5.0
    $ python setup.py install

or::

    $ python3 setup.py install

depending on which version of Python you are using.


Installing from source
======================

To install the latest version of lazyarray from the Git repository::

    $ git clone https://github.com/NeuralEnsemble/lazyarray
    $ cd lazyarray
    $ python setup.py install


.. _`numpy`: http://numpy.scipy.org/
.. _`scipy`: http://scipy.org/
.. _`quantities`: http://pypi.python.org/pypi/quantities
.. _`pip`: http://pypi.python.org/pypi/pip
.. _`setuptools`: http://pypi.python.org/pypi/setuptools