This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/python/yap_kernel/__main__.py

7 lines
212 B
Python
Raw Normal View History

2016-06-28 16:37:36 +01:00
try:
from ipykernel.kernelapp import IPKernelApp
except ImportError:
from IPython.kernel.zmq.kernelapp import IPKernelApp
from .kernel import YAPKernel
IPKernelApp.launch_instance(kernel_class=YAPKernel)