Show More
@@ -17,14 +17,14 from IPython.utils.shimmodule import ShimModule | |||||
17 | sys.modules['IPython.kernel.zmq.session'] = ShimModule('session', mirror='jupyter_client.session') |
|
17 | sys.modules['IPython.kernel.zmq.session'] = ShimModule('session', mirror='jupyter_client.session') | |
18 | sys.modules['IPython.kernel.zmq'] = ShimModule('zmq', mirror='ipython_kernel') |
|
18 | sys.modules['IPython.kernel.zmq'] = ShimModule('zmq', mirror='ipython_kernel') | |
19 |
|
19 | |||
20 |
for pkg in ('comm', 'inprocess' |
|
20 | for pkg in ('comm', 'inprocess'): | |
21 | sys.modules['IPython.kernel.%s' % pkg] = ShimModule(pkg, mirror='ipython_kernel.%s' % pkg) |
|
21 | sys.modules['IPython.kernel.%s' % pkg] = ShimModule(pkg, mirror='ipython_kernel.%s' % pkg) | |
22 |
|
22 | |||
23 | for pkg in ('ioloop', 'blocking'): |
|
23 | for pkg in ('ioloop', 'blocking'): | |
24 | sys.modules['IPython.kernel.%s' % pkg] = ShimModule(pkg, mirror='jupyter_client.%s' % pkg) |
|
24 | sys.modules['IPython.kernel.%s' % pkg] = ShimModule(pkg, mirror='jupyter_client.%s' % pkg) | |
25 |
|
25 | |||
26 | # required for `from IPython.kernel import PKG` |
|
26 | # required for `from IPython.kernel import PKG` | |
27 |
from ipython_kernel import comm, inprocess |
|
27 | from ipython_kernel import comm, inprocess | |
28 | from jupyter_client import ioloop, blocking |
|
28 | from jupyter_client import ioloop, blocking | |
29 | # public API |
|
29 | # public API | |
30 | from ipython_kernel.connect import * |
|
30 | from ipython_kernel.connect import * |
@@ -204,7 +204,7 def find_package_data(): | |||||
204 | # 'v3/nbformat.v3.schema.json', |
|
204 | # 'v3/nbformat.v3.schema.json', | |
205 | # 'v4/nbformat.v4.schema.json', |
|
205 | # 'v4/nbformat.v4.schema.json', | |
206 | # ], |
|
206 | # ], | |
207 | 'IPython.kernel': ['resources/*.*'], |
|
207 | # 'IPython.kernel': ['resources/*.*'], | |
208 | } |
|
208 | } | |
209 |
|
209 | |||
210 | return package_data |
|
210 | return package_data |
General Comments 0
You need to be logged in to leave comments.
Login now