|
13 | 13 | Installation
|
14 | 14 | ************
|
15 | 15 |
|
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_. |
22 | 22 |
|
23 | 23 | .. This remark below is not yet true; comment to avoid confusion
|
24 | 24 | To run all of the tests, you may need some extra data packages - see
|
@@ -121,14 +121,15 @@ Validating your install
|
121 | 121 | For a basic test of your installation, fire up Python and try importing the
|
122 | 122 | module to see if everything is fine. It should look something like this::
|
123 | 123 |
|
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 |
126 | 126 | Type "help", "copyright", "credits" or "license" for more information.
|
127 | 127 | >>> import nibabel
|
128 | 128 | >>>
|
129 | 129 |
|
130 | 130 |
|
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 |
132 | 133 | ``python -c "import nibabel; nibabel.test()``.
|
133 | 134 |
|
134 | 135 | To run an extended test suite that validates ``nibabel`` for long-running and
|
|
0 commit comments