Skip to content

Commit 0dc6403

Browse files
committed
Merge pull request #425 from matthew-brett/more-requirements
MRG: add doc and dev requirements files pip requirements files for building docs and running tests.
2 parents 8b76c7e + 311f6e1 commit 0dc6403

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ script:
130130
COVER_ARGS="--with-coverage --cover-package nibabel";
131131
fi
132132
if [ "$DOC_DOC_TEST" == "1" ]; then
133-
pip install sphinx numpydoc texext;
134133
cd ../doc;
134+
pip install -r ../doc-requirements.txt
135135
make html;
136136
make doctest;
137137
else

dev-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Requirements for running tests
2+
-r requirements.txt
3+
nose

doc-requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Requirements for building docs
2+
-r requirements.txt
3+
sphinx
4+
numpydoc
5+
texext
6+
matplotlib>=1.3

doc/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#####################
2+
Nibabel documentation
3+
#####################
4+
5+
To build the documentation, change to the root directory (containing
6+
``setup.py``) and run::
7+
8+
pip install -r doc-requirements.txt
9+
make html

0 commit comments

Comments
 (0)