Skip to content

Commit ff5f2ea

Browse files
committed
Merge pull request #230 from satra/fix/docbuilding
doc: cleaned doc building to not depend on underlying software closes gh-230
2 parents 48e564d + ae64e84 commit ff5f2ea

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,17 @@ inplace:
5454

5555
test-code: in
5656
$(NOSETESTS) -s nipype --with-doctest
57+
stty sane
5758

5859
test-doc:
5960
$(NOSETESTS) -s --with-doctest --doctest-tests --doctest-extension=rst \
6061
--doctest-fixtures=_fixture doc/
62+
stty sane
6163

6264
test-coverage:
6365
$(NOSETESTS) -s --with-doctest --with-coverage --cover-html --cover-html-dir=coverage \
6466
--cover-package=nipype nipype
67+
stty sane
6568

6669
test: test-code
6770

doc/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ help:
2323
"items (ChangeLog)"
2424
@echo " linkcheck check all external links for integrity"
2525
@echo " doctest run all doctests embedded in the documentation"
26-
@echo " sf_cburns copy html files to sourceforge (cburns only)"
2726
@echo " sf_satra copy html files to sourceforge (satra only)"
2827

2928
clean:
@@ -43,6 +42,7 @@ api:
4342

4443
html: examples2rst api htmlonly
4544
@echo "Build HTML and API finished."
45+
stty sane
4646

4747
examples2rst:
4848
python ../tools/ex2rst \
@@ -104,10 +104,6 @@ gitwash-update:
104104
# Sourceforge doesn't appear to have a way of copying the files
105105
# without specifying a username. So we'll probably have one target
106106
# for each project admin
107-
sf_cburns:
108-
@echo "Copying html files to sourceforge..."
109-
scp -r _build/html/* cburns,[email protected]:htdocs/nipype/
110-
111107
sf_satra_nightly: html
112108
@echo "Copying html files to sourceforge..."
113109
scp -r _build/html/* satra,[email protected]:htdocs/nipype-nightly/

nipype/interfaces/fsl/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,3 @@
3333
ApplyMask, IsotropicSmooth, TemporalFilter,
3434
DilateImage, ErodeImage, SpatialFilter,
3535
UnaryMaths, BinaryMaths, MultiImageMaths)
36-
37-
import nose
38-
39-
40-
def setup():
41-
print 'test setup'
42-
if no_fsl():
43-
raise nose.SkipTest
44-
45-
def teardown():
46-
print 'test teardown'

0 commit comments

Comments
 (0)