File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ NOSETESTS = $(PYTHON) $(shell which nosetests)
1717PYVER := $(shell $(PYTHON ) -V 2>&1 | cut -d ' ' -f 2,2 | cut -d '.' -f 1,2)
1818DISTUTILS_PLATFORM := \
1919 $(shell \
20- $(PYTHON ) -c "import distutils.util; print distutils.util.get_platform() ")
20+ $(PYTHON ) -c "import distutils.util; print( distutils.util.get_platform() )")
2121
2222# Helpers for version handling.
2323# Note: can't be ':='-ed since location of invocation might vary
@@ -250,5 +250,13 @@ source-release: clean
250250 python -m compileall .
251251 python setup.py sdist --formats=gztar,zip
252252
253+ venv-tests :
254+ # I use this for python2.5 because the sdist-tests target doesn't work
255+ # (the tester routine uses a 2.6 feature)
256+ make distclean
257+ - rm -rf $(VIRTUAL_ENV ) /lib/python$(PYVER ) /site-packages/nibabel
258+ python setup.py install
259+ cd .. && nosetests $(VIRTUAL_ENV ) /lib/python$(PYVER ) /site-packages/nibabel
260+
253261.PHONY : orig-src pylint
254262
You can’t perform that action at this time.
0 commit comments