Merge pull request #1770 from ellisonbg/cython_magic

Cython related magic functions: offers the new cell magics %%cython_inline, %%cython_pyximport and %%cython to make it very easy to put cython-accelerated code in a cell and have it loaded interactively.
This commit is contained in:
Fernando Perez 2012-05-30 22:17:34 -07:00
commit c15e0fa132

View File

@ -149,6 +149,7 @@ have['wx'] = test_for('wx')
have['wx.aui'] = test_for('wx.aui')
have['qt'] = test_for('IPython.external.qt')
have['sqlite3'] = test_for('sqlite3')
have['cython'] = test_for('Cython')
have['tornado'] = test_for('tornado.version_info', (2,1,0), callback=None)
@ -269,6 +270,9 @@ def make_exclude():
ipjoin('zmq', 'pylab'),
])
if not have['cython']:
exclusions.extend([ipjoin('extensions', 'cythonmagic')])
if not have['tornado']:
exclusions.append(ipjoin('frontend', 'html'))