mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-13 18:50:47 +05:30
Remove version 2 of the plugin as its functionality was integrated into v1
This commit is contained in:
+5
-7
@@ -1,10 +1,8 @@
|
||||
from IPython.core.interactiveshell import InteractiveShell
|
||||
|
||||
from v1.v1 import NVCCPlugin as NVCC_V1
|
||||
from v2.v2 import NVCCPluginV2 as NVCC_V2
|
||||
|
||||
|
||||
def load_ipython_extension(ip):
|
||||
nvcc_plugin = NVCC_V1(ip)
|
||||
ip.register_magics(nvcc_plugin)
|
||||
|
||||
nvcc_plugin_v2 = NVCC_V2(ip)
|
||||
ip.register_magics(nvcc_plugin_v2)
|
||||
def load_ipython_extension(shell: InteractiveShell):
|
||||
nvcc_plugin = NVCC_V1(shell)
|
||||
shell.register_magics(nvcc_plugin)
|
||||
|
||||
Reference in New Issue
Block a user