Skip to content

Commit

Permalink
Merge pull request #1533 from oesteban/doc/Install4Developers
Browse files Browse the repository at this point in the history
[DOC] Update installation documentation for developers
  • Loading branch information
satra committed Jul 17, 2016
2 parents 2986256 + c5b984b commit 826ef99
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 18 deletions.
2 changes: 2 additions & 0 deletions doc/links_names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@
.. _Camino: http://web4.cs.ucl.ac.uk/research/medic/camino/pmwiki/pmwiki.php
.. _Camino2Trackvis: http://camino-trackvis.sourceforge.net/
.. _MRtrix: http://www.brain.org.au/software/mrtrix/index.html
.. _MRtrix3: http://www.mrtrix.org/
.. _MNE: https://martinos.org/mne/index.html
.. _ANTS: http://stnava.github.io/ANTs/

.. General software
.. _gcc: http://gcc.gnu.org
Expand Down
74 changes: 56 additions & 18 deletions doc/users/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,42 @@

This page covers the necessary steps to install Nipype.

Download
--------
Nipype for users
----------------

Current release: `<https://github.com/nipy/nipype/releases/latest>`_.
Using conda
~~~~~~~~~~~

Development version: [`zip <http://github.com/nipy/nipype/zipball/master>`__ `tar.gz
<http://github.com/nipy/nipype/tarball/master>`__]
Installing nipype from the conda-forge channel can be achieved by adding conda-forge to your channels with::

`Prior downloads <http://github.com/nipy/nipype/tags>`_
conda config --add channels conda-forge

To check out the latest development version::

git clone git://github.com/nipy/nipype.git
Once the conda-forge channel has been enabled, nipype can be installed with::

or::
conda install nipype

git clone https://github.com/nipy/nipype.git

Check out the list of nipype's `current dependencies <https://github.com/shoshber/nipype/blob/master/nipype/info.py#L105>`_.
It is possible to list all of the versions of nipype available on your platform with::

conda search nipype --channel conda-forge

For more information, please see https://github.com/conda-forge/nipype-feedstock

Install
-------

Using Pypi
~~~~~~~~~~

The installation process is similar to other Python packages.

If you already have a Python environment set up, you can do::

easy_install nipype
easy_install nipype

or::

pip install nipype
pip install nipype


Debian and Ubuntu
~~~~~~~~~~~~~~~~~
Expand All @@ -52,19 +56,49 @@ Mac OS X
The easiest way to get nipype running on Mac OS X is to install Anaconda_ or
Canopy_ and then add nipype by executing::

easy_install nipype
easy_install nipype


From source
~~~~~~~~~~~

The current release is found here: `<https://github.com/nipy/nipype/releases/latest>`_.

The development version: [`zip <http://github.com/nipy/nipype/zipball/master>`__ `tar.gz
<http://github.com/nipy/nipype/tarball/master>`__]

For previous versions: `prior downloads <http://github.com/nipy/nipype/tags>`_

If you downloaded the source distribution named something
like ``nipype-x.y.tar.gz``, then unpack the tarball, change into the
``nipype-x.y`` directory and install nipype using::

pip install -e .
pip install -r requirements.txt
python setup.py install

**Note:** Depending on permissions you may need to use ``sudo``.


Nipype for developers
---------------------

To check out the latest development version::

git clone git://github.com/nipy/nipype.git

or::

git clone https://github.com/nipy/nipype.git

After cloning::

pip install -r requirements.txt
python setup.py develop


Check out the list of nipype's `current dependencies <https://github.com/nipy/nipype/blob/master/requirements.txt>`_.


Testing the install
-------------------

Expand Down Expand Up @@ -166,10 +200,14 @@ Nipy_
Nitime_
(optional)

ANTS_

MRtrix_ and MRtrix3_

Camino_

Camino2Trackvis_

ConnectomeViewer_

.. include:: ../links_names.txt
.. include:: ../links_names.txt

0 comments on commit 826ef99

Please sign in to comment.