Show More
@@ -76,7 +76,7 def _make_native_kernel_dir(): | |||||
76 | """ |
|
76 | """ | |
77 | path = pjoin(USER_KERNEL_DIR, NATIVE_KERNEL_NAME) |
|
77 | path = pjoin(USER_KERNEL_DIR, NATIVE_KERNEL_NAME) | |
78 | os.makedirs(path, mode=0o755) |
|
78 | os.makedirs(path, mode=0o755) | |
79 |
with |
|
79 | with open(pjoin(path, 'kernel.json'), 'w') as f: | |
80 | json.dump({'argv':[NATIVE_KERNEL_NAME, '-c', |
|
80 | json.dump({'argv':[NATIVE_KERNEL_NAME, '-c', | |
81 | 'from IPython.kernel.zmq.kernelapp import main; main()', |
|
81 | 'from IPython.kernel.zmq.kernelapp import main; main()', | |
82 | '-f', '{connection_file}'], |
|
82 | '-f', '{connection_file}'], |
General Comments 0
You need to be logged in to leave comments.
Login now