File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -75,3 +75,4 @@ Thumbs.db
75
75
# Things specific to this project #
76
76
# ##################################
77
77
doc /source /generated
78
+ venv /
Original file line number Diff line number Diff line change @@ -248,6 +248,16 @@ sdist-tests:
248
248
bdist-egg-tests :
249
249
$(PYTHON ) -c ' from nisext.testers import bdist_egg_tests; bdist_egg_tests("nibabel", doctests=False, label="not script_test")'
250
250
251
+ sdist-venv : clean
252
+ rm -rf dist venv
253
+ unset PYTHONPATH && $(PYTHON ) setup.py sdist --formats=zip
254
+ virtualenv --system-site-packages --python=$(PYTHON ) venv
255
+ . venv/bin/activate && pip install --ignore-installed nose
256
+ mkdir venv/tmp
257
+ cd venv/tmp && unzip ../../dist/* .zip
258
+ . venv/bin/activate && cd venv/tmp/nibabel* && python setup.py install
259
+ unset PYTHONPATH && . venv/bin/activate && cd venv && nosetests --with-doctest nibabel nisext
260
+
251
261
source-release : distclean
252
262
$(PYTHON ) -m compileall .
253
263
make distclean
You can’t perform that action at this time.
0 commit comments