Now use __main__ instead of __init__
author |
Brendan Rius <brendan@omixy.com> |
date |
Fri, 25 Mar 2016 15:03:55 +0000 |
parents |
aa54c85303b6 |
children |
101e99452042 |
files |
c_kernel/__init__.py c_kernel/__main__.py |
diffstat |
2 files changed, 3 insertions(+), 3 deletions(-)
[+]
|
line diff
--- a/c_kernel/__init__.py Fri Mar 25 14:52:13 2016 +0000
+++ b/c_kernel/__init__.py Fri Mar 25 15:03:55 2016 +0000
@@ -1,3 +0,0 @@
-from ipykernel.kernelapp import IPKernelApp
-from .kernel import CKernel
-IPKernelApp.launch_instance(kernel_class=CKernel)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/c_kernel/__main__.py Fri Mar 25 15:03:55 2016 +0000
@@ -0,0 +1,3 @@
+from ipykernel.kernelapp import IPKernelApp
+from .kernel import CKernel
+IPKernelApp.launch_instance(kernel_class=CKernel)