Remove version 2 of the plugin as its functionality was integrated into v1

This commit is contained in:
Cosmin Ciocan
2024-01-02 10:52:39 +01:00
parent 743a46316c
commit ce107de89f
3 changed files with 5 additions and 114 deletions
+5 -7
View File
@@ -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)