##// END OF EJS Templates
Use updated user namespace construction API
Use updated user namespace construction API

File last commit:

r1482:caaea8d2
r1487:9bc49c2f
Show More
Makefile
66 lines | 1.3 KiB | text/x-makefile | MakefileLexer
# Set this prefix to where you want to install the plugin
PREFIX=~/usr/local
PREFIX=~/tmp/local
NOSE0=nosetests -vs --with-doctest --doctest-tests
NOSE=nosetests -vvs --with-ipdoctest --doctest-tests --doctest-extension=txt
SRC=ipdoctest.py setup.py ../decorators.py
# Default target for clean 'make'
default: iplib
# The actual plugin installation
plugin: IPython_doctest_plugin.egg-info
# Simple targets that test one thing
simple: plugin simple.py
$(NOSE) simple.py
dtest: plugin dtexample.py
$(NOSE) dtexample.py
rtest: plugin test_refs.py
$(NOSE) test_refs.py
test: plugin dtexample.py
$(NOSE) dtexample.py test*.py test*.txt
deb: plugin dtexample.py
$(NOSE) test_combo.txt
# IPython tests
deco:
$(NOSE0) -x IPython.testing.decorators
magic: plugin
$(NOSE) -x IPython.Magic
ipipe: plugin
$(NOSE) -x IPython.Extensions.ipipe
iplib: plugin
$(NOSE) -x IPython.iplib
strd: plugin
nosetests -vs --with-doctest --doctest-tests IPython.strdispatch
$(NOSE) IPython.strdispatch
# All of ipython itself
ipython: plugin
$(NOSE) IPython
# Combined targets
sr: rtest strd
base: dtest rtest test strd deco
all: base ipython
# Main plugin and cleanup
IPython_doctest_plugin.egg-info: $(SRC)
python setup.py install --prefix=$(PREFIX)
touch $@
clean:
rm -rf IPython_doctest_plugin.egg-info *~ *pyc build/ dist/