Skip to content

Commit 826ef99

Browse files
authored
Merge pull request #1533 from oesteban/doc/Install4Developers
[DOC] Update installation documentation for developers
2 parents 2986256 + c5b984b commit 826ef99

File tree

2 files changed

+58
-18
lines changed

2 files changed

+58
-18
lines changed

doc/links_names.txt

+2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@
9595
.. _Camino: http://web4.cs.ucl.ac.uk/research/medic/camino/pmwiki/pmwiki.php
9696
.. _Camino2Trackvis: http://camino-trackvis.sourceforge.net/
9797
.. _MRtrix: http://www.brain.org.au/software/mrtrix/index.html
98+
.. _MRtrix3: http://www.mrtrix.org/
9899
.. _MNE: https://martinos.org/mne/index.html
100+
.. _ANTS: http://stnava.github.io/ANTs/
99101

100102
.. General software
101103
.. _gcc: http://gcc.gnu.org

doc/users/install.rst

+56-18
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,42 @@
66

77
This page covers the necessary steps to install Nipype.
88

9-
Download
10-
--------
9+
Nipype for users
10+
----------------
1111

12-
Current release: `<https://github.com/nipy/nipype/releases/latest>`_.
12+
Using conda
13+
~~~~~~~~~~~
1314

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

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

19-
To check out the latest development version::
2019

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

23-
or::
22+
conda install nipype
2423

25-
git clone https://github.com/nipy/nipype.git
2624

27-
Check out the list of nipype's `current dependencies <https://github.com/shoshber/nipype/blob/master/nipype/info.py#L105>`_.
25+
It is possible to list all of the versions of nipype available on your platform with::
26+
27+
conda search nipype --channel conda-forge
28+
29+
For more information, please see https://github.com/conda-forge/nipype-feedstock
2830

29-
Install
30-
-------
31+
32+
Using Pypi
33+
~~~~~~~~~~
3134

3235
The installation process is similar to other Python packages.
3336

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

36-
easy_install nipype
39+
easy_install nipype
3740

3841
or::
3942

40-
pip install nipype
43+
pip install nipype
44+
4145

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

55-
easy_install nipype
59+
easy_install nipype
60+
5661

5762
From source
5863
~~~~~~~~~~~
5964

65+
The current release is found here: `<https://github.com/nipy/nipype/releases/latest>`_.
66+
67+
The development version: [`zip <http://github.com/nipy/nipype/zipball/master>`__ `tar.gz
68+
<http://github.com/nipy/nipype/tarball/master>`__]
69+
70+
For previous versions: `prior downloads <http://github.com/nipy/nipype/tags>`_
71+
6072
If you downloaded the source distribution named something
6173
like ``nipype-x.y.tar.gz``, then unpack the tarball, change into the
6274
``nipype-x.y`` directory and install nipype using::
6375

64-
pip install -e .
76+
pip install -r requirements.txt
77+
python setup.py install
6578

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

81+
82+
Nipype for developers
83+
---------------------
84+
85+
To check out the latest development version::
86+
87+
git clone git://github.com/nipy/nipype.git
88+
89+
or::
90+
91+
git clone https://github.com/nipy/nipype.git
92+
93+
After cloning::
94+
95+
pip install -r requirements.txt
96+
python setup.py develop
97+
98+
99+
Check out the list of nipype's `current dependencies <https://github.com/nipy/nipype/blob/master/requirements.txt>`_.
100+
101+
68102
Testing the install
69103
-------------------
70104

@@ -166,10 +200,14 @@ Nipy_
166200
Nitime_
167201
(optional)
168202

203+
ANTS_
204+
205+
MRtrix_ and MRtrix3_
206+
169207
Camino_
170208

171209
Camino2Trackvis_
172210

173211
ConnectomeViewer_
174212

175-
.. include:: ../links_names.txt
213+
.. include:: ../links_names.txt

0 commit comments

Comments
 (0)