mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-23 12:49:41 +08:00
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:
commit
c15e0fa132
@ -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'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user