Skip to content

Commit 3e1c42c

Browse files
committed
DOC: Update installation docs to keep from looking too behind the times
1 parent b671c23 commit 3e1c42c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

doc/source/installation.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
Installation
1414
************
1515

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-
pip_ or by downloading the source package and running the usual ``python
21-
setup.py install``.
16+
NiBabel is a pure Python package,
17+
and it should be easy to get NiBabel running on any system.
18+
For the most popular platforms and operating systems
19+
there should be packages in the respective native packaging format
20+
(DEB, RPM or installers).
21+
On other systems you can install NiBabel using pip_.
2222

2323
.. This remark below is not yet true; comment to avoid confusion
2424
To run all of the tests, you may need some extra data packages - see
@@ -121,14 +121,15 @@ Validating your install
121121
For a basic test of your installation, fire up Python and try importing the
122122
module to see if everything is fine. It should look something like this::
123123

124-
Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35)
125-
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
124+
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
125+
[GCC 7.3.0] :: Anaconda, Inc. on linux
126126
Type "help", "copyright", "credits" or "license" for more information.
127127
>>> import nibabel
128128
>>>
129129

130130

131-
To run the nibabel test suite, from the terminal run ``pytest nibabel`` or
131+
To run the nibabel test suite, from the terminal run
132+
``pytest --pyargs nibabel`` or
132133
``python -c "import nibabel; nibabel.test()``.
133134

134135
To run an extended test suite that validates ``nibabel`` for long-running and

0 commit comments

Comments
 (0)