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)
17
17
PYVER := $(shell $(PYTHON ) -V 2>&1 | cut -d ' ' -f 2,2 | cut -d '.' -f 1,2)
18
18
DISTUTILS_PLATFORM := \
19
19
$(shell \
20
- $(PYTHON ) -c "import distutils.util; print distutils.util.get_platform() ")
20
+ $(PYTHON ) -c "import distutils.util; print( distutils.util.get_platform() )")
21
21
22
22
# Helpers for version handling.
23
23
# Note: can't be ':='-ed since location of invocation might vary
@@ -250,5 +250,13 @@ source-release: clean
250
250
python -m compileall .
251
251
python setup.py sdist --formats=gztar,zip
252
252
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
+
253
261
.PHONY : orig-src pylint
254
262
You can’t perform that action at this time.
0 commit comments