Skip to content

Commit f44ca17

Browse files
committed
Merge remote branch 'nipy/master'
Conflicts: doc/source/manual.rst
2 parents 21cb66c + a6ed773 commit f44ca17

File tree

4 files changed

+70
-22
lines changed

4 files changed

+70
-22
lines changed

doc/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Documentation
1818
* :ref:`Developer discussions <chap_devdiscuss>` (arcane discussions about code
1919
design)
2020
* :ref:`Development Changelog <changelog>` (see what has changed)
21+
* :ref:`DICOM concepts <dicom>` (details about implementing DICOM reading)
2122
* :ref:`genindex` (access by keywords)
2223
* :ref:`search` (online and offline full-text search)
2324

doc/source/installation.rst

Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,40 @@
1313
Installation
1414
************
1515

16-
It should be easy to get NiBabel running on any system. For the most popular
17-
platforms and operating systems there are binary packages provided in the
18-
respective native packaging format (DEB, RPM or installers). On all other
19-
systems NiBabel has to be compiled from source -- which should also be pretty
20-
straightforward.
16+
NiBabel is a pure python package at the moment, and it should be easy to get
17+
NiBabel running on any system. For the most popular platforms and operating
18+
systems there should be packages in the respective native packaging format
19+
(DEB, RPM or installers). On other systems you can install NiBabel using
20+
``easy_install`` or by downloading the source package and running the usual
21+
``python setup.py install``.
2122

22-
To run all of the tests, you may need some extra data packages - see
23-
:ref:`installing-data`.
23+
.. This remark below is not yet true; comment to avoid confusion
24+
To run all of the tests, you may need some extra data packages - see
25+
:ref:`installing-data`.
2426
2527
Installer and packages
2628
======================
2729

30+
.. _install_pypi:
31+
32+
The python package index
33+
------------------------
34+
35+
NiBabel is available via `pypi`_. If you already have setuptools_ or
36+
distribute_ installed, you can run::
37+
38+
easy_install nibabel
39+
40+
to download nibabel and its dependencies. Alternatively go to the `nibabel
41+
pypi`_ page and select the source distribution you want. Download the
42+
distribution, unpack it, and then, from the unpacked directory, run::
43+
44+
python setup.py install
45+
46+
or (if you need root permission to install on a unix system)::
47+
48+
sudo python setup.py install
49+
2850
.. _install_debian:
2951

3052
Debian/Ubuntu
@@ -37,21 +59,23 @@ installing NiBabel is::
3759
apt-get update
3860
apt-get install python-nibabel
3961

40-
.. _NeuroDebian package: http://neuro.debian.net/pkgs/python-nibabel-snapshot.html
41-
42-
62+
.. _NeuroDebian package: http://neuro.debian.net/pkgs/python-nibabel.html
4363

4464
Install from source
4565
===================
4666

4767
If no installer or package is provided for your platfom, you can install
48-
NiBabel from source. It needs a few things to run properly:
68+
NiBabel from source.
4969

50-
* Python_ 2.5 or greater
51-
* NumPy_
52-
* SciPy_ (for SPM-ANALYZE support)
53-
* PyDICOM_ (for DICOM support)
70+
Requirements
71+
------------
5472

73+
* Python_ 2.5 or greater
74+
* NumPy_ 1.2 or greater
75+
* SciPy_ (for full SPM-ANALYZE support)
76+
* PyDICOM_ 0.9.5 or greater (for DICOM support)
77+
* nose_ 0.11 or greater (to run the tests)
78+
* sphinx_ (to build the documentation)
5579

5680
Get the sources
5781
---------------
@@ -66,8 +90,13 @@ If you want to have access to the full NiBabel history and the latest
6690
development code, do a full clone (aka checkout) of the NiBabel
6791
repository::
6892

93+
git clone git://github.com/nipy/nibabel.git
94+
95+
or::
96+
6997
git clone http://github.com/nipy/nibabel.git
7098

99+
(The first will be faster, the second more likely to work behind a firewall).
71100

72101
Installation
73102
------------

doc/source/links_names.txt

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
1-
.. This (-*- rst -*-) format file contains commonly used link targets
1+
.. -*- rst -*-
2+
.. vim: ft=rst
3+
4+
.. This rst format file contains commonly used link targets
25
and name substitutions. It may be included in many files,
36
therefore it should only contain link targets and name
47
substitutions. Try grepping for "^\.\. _" to find plausible
58
candidates for this list.
69
10+
711
.. NOTE: reST targets are
812
__not_case_sensitive__, so only one target definition is needed for
913
nipy, NIPY, Nipy, etc...
1014
11-
.. _nipy: http://nipy.org
15+
.. nibabel
16+
.. _nibabel: http://nipy.org/nibabel
17+
.. _`nibabel github`: http://github.com/nipy/nibabel
18+
.. _`nibabel mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel
19+
.. _nibabel pypi: http://pypi.python.org/pypi/nibabel
20+
21+
.. other related projects
22+
.. _nipy community: http://nipy.org
23+
.. _nipy: http://nipy.org/nipy
1224
.. _`Brain Imaging Center`: http://bic.berkeley.edu/
1325
.. _dipy: http://nipy.org/dipy
1426
.. _`dipy github`: http://github.com/Garyfallidis/dipy
15-
.. _nibabel: http://nipy.sourceforge.net/nibabel
16-
.. _nipy development guidelines: http://nipy.sourceforge.net/devel
27+
.. _nibabel: http://nipy.org/nibabel
28+
.. _nipy development guidelines: http://nipy.org/devel
29+
.. _`nipy github`: http://github.com/nipy/nipy
1730

1831
.. Documentation tools
1932
.. _graphviz: http://www.graphviz.org/
@@ -28,6 +41,9 @@
2841
.. _LGPL: http://www.gnu.org/copyleft/lesser.html
2942
.. _MIT License: http://www.opensource.org/licenses/mit-license.php
3043

44+
.. Installation
45+
.. _pypi: http://pypi.python.org/pypi
46+
3147
.. Working process
3248
.. _pynifti: http://niftilib.sourceforge.net/pynifti/
3349
.. _nifticlibs: http://nifti.nimh.nih.gov
@@ -36,10 +52,9 @@
3652
.. _sourceforge: http://nipy.sourceforge.net/
3753
.. _`nipy launchpad`: https://launchpad.net/nipy
3854
.. _launchpad: https://launchpad.net/
39-
.. _`nipy trunk`: https://code.launchpad.net/~nipy-developers/nipy/trunk
55+
.. _`nipy trunk`: http://code.launchpad.net/~nipy-developers/nipy/trunk
4056
.. _`nipy mailing list`: http://projects.scipy.org/mailman/listinfo/nipy-devel
4157
.. _`nipy bugs`: https://bugs.launchpad.net/nipy
42-
.. _nibabel github: http://github.com/hanke/nibabel
4358
.. _sourceforge download page: http://sourceforge.net/projects/nipy/files
4459

4560
.. Code support stuff
@@ -65,6 +80,8 @@
6580
.. _numpy: http://www.scipy.org/NumPy
6681
.. _scipy: http://www.scipy.org
6782
.. _ipython: http://ipython.scipy.org
83+
.. _`ipython github`: http://github.com/ipython/ipython
84+
.. _`ipython mailing list`: http://mail.scipy.org/mailman/listinfo/IPython-dev
6885
.. _`ipython manual`: http://ipython.scipy.org/doc/manual/html
6986
.. _matplotlib: http://matplotlib.sourceforge.net
7087
.. _pythonxy: http://www.pythonxy.com
@@ -76,6 +93,7 @@
7693
.. _sympy: http://code.google.com/p/sympy/
7794
.. _networkx: http://networkx.lanl.gov/
7895
.. _setuptools: http://pypi.python.org/pypi/setuptools
96+
.. _distribute: http://packages.python.org/distribute
7997

8098
.. Python imaging projects
8199
.. _PyMVPA: http://www.pymvpa.org
@@ -124,6 +142,7 @@
124142
.. _enthought: <http://www.enthought.com>
125143
.. _kitware: http://www.kitware.com
126144
.. _NeuroDebian: http://neuro.debian.net
145+
.. _nitrc: http://www.nitrc.org
127146

128147
.. General information links
129148
.. _`wikipedia FMRI`: http://en.wikipedia.org/wiki/Functional_magnetic_resonance_imaging

doc/source/manual.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ NiBabel Manual
99
installation
1010
gettingstarted
1111
installing_data
12-
dicom/dicom
1312
legal
1413
changelog

0 commit comments

Comments
 (0)