Skip to content

Commit 5dad677

Browse files
committed
DOC: better documentation requirement checks
Note where requirements should be updated. Update minimum numpy version. Note new minimum Python version (2.7).
1 parent 529150c commit 5dad677

File tree

5 files changed

+23
-4
lines changed

5 files changed

+23
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ matrix:
3737
env:
3838
- DEPENDS=numpy==1.5.1 PYDICOM=0
3939
# Absolute minimum dependencies plus oldest MPL
40+
# Check these against:
41+
# doc/source/installation.rst
42+
# requirements.txt
43+
# .travis.yml
4044
- python: 2.7
4145
env:
4246
- DEPENDS="numpy==1.5.1 matplotlib==1.3.1" PYDICOM=0

doc/source/installation.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ NiBabel from source.
7575
Requirements
7676
------------
7777

78-
* Python_ 2.6 or greater
78+
.. check these against:
79+
nibabel/info.py
80+
requirements.txt
81+
.travis.yml
82+
83+
* Python_ 2.7 or greater
7984
* NumPy_ 1.5 or greater
8085
* SciPy_ (for full SPM-ANALYZE support)
8186
* PyDICOM_ 0.9.7 or greater (for DICOM support)

doc/source/links_names.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
https://pip.readthedocs.org/en/latest/installing.html
109109
.. _twine: https://pypi.python.org/pypi/twine
110110
.. _datapkg: https://pythonhosted.org/datapkg/
111-
.. _python imaging library: http://pythonware.com/products/pil/
111+
.. _python imaging library: https://pypi.python.org/pypi/Pillow
112112

113113
.. Python imaging projects
114114
.. _PyMVPA: http://www.pymvpa.org

nibabel/info.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,11 @@
102102
nibabel distribution.
103103
"""
104104

105-
# versions for dependencies
106-
NUMPY_MIN_VERSION = '1.5'
105+
# versions for dependencies. Check these against:
106+
# doc/source/installation.rst
107+
# requirements.txt
108+
# .travis.yml
109+
NUMPY_MIN_VERSION = '1.5.1'
107110
PYDICOM_MIN_VERSION = '0.9.7'
108111

109112
# Main setup parameters

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
# Minumum requirements
2+
#
3+
# Check these against
4+
# nibabel/info.py
5+
# .travis.yml
6+
# doc/source/installation.rst
7+
18
numpy>=1.5.1

0 commit comments

Comments
 (0)