##// END OF EJS Templates
protect flush_figures post-exec function from user error...
protect flush_figures post-exec function from user error Invalid matplotlib data may raise inside print_figure. flush_figures() is a post-exec function, so user errors should not raise. Instead, call get_ipython().showtraceback() if called from IPython, raising as before otherwise.

File last commit:

r1334:049617d6
r5735:c98183ce
Show More
setup.py
18 lines | 539 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""A Nose plugin to support IPython doctests.
"""
from setuptools import setup
setup(name='IPython doctest plugin',
version='0.1',
author='The IPython Team',
description = 'Nose plugin to load IPython-extended doctests',
license = 'LGPL',
py_modules = ['ipdoctest'],
entry_points = {
'nose.plugins.0.10': ['ipdoctest = ipdoctest:IPythonDoctest',
'extdoctest = ipdoctest:ExtensionDoctest',
],
},
)