@@ -96,7 +96,7 @@ def get_target_executable(self) -> Optional[str]:
9696 return None
9797
9898 def get_pip_gui_class (self ):
99- from thonny . plugins .quecpython .backend .pip_gui import QuecPythonPipDialog
99+ from thonnycontrib .quecpython .backend .pip_gui import QuecPythonPipDialog
100100
101101 return QuecPythonPipDialog
102102
@@ -170,9 +170,9 @@ def stop_restart_kills_user_program(self) -> bool:
170170 return False
171171
172172 def _get_backend_launcher_path (self ) -> str :
173- import thonny . plugins . quecpython .backend . bare_metal_backend
173+ from thonnycontrib . quecpython .backend import bare_metal_backend
174174
175- return thonny . plugins . quecpython . backend . bare_metal_backend .__file__
175+ return bare_metal_backend .__file__
176176
177177 def _get_write_block_size (self ):
178178 return get_workbench ().get_option (self .backend_name + ".write_block_size" )
@@ -394,7 +394,7 @@ def open_custom_system_shell(self):
394394 running .get_front_interpreter_for_subprocess (sys .executable ),
395395 "-m" ,
396396 # "serial.tools.miniterm",
397- "thonny.plugins .quecpython.backend.miniterm_wrapper" ,
397+ "thonnycontrib .quecpython.backend.miniterm_wrapper" ,
398398 "--exit-char" ,
399399 "20" ,
400400 "--menu-char" ,
@@ -700,10 +700,10 @@ def get_target_executable(self) -> Optional[str]:
700700 return self ._target_executable
701701
702702 def _get_launcher_with_args (self ):
703- import thonny . plugins . quecpython .backend . os_mp_backend
703+ from thonnycontrib . quecpython .backend import os_mp_backend
704704
705705 cmd = [
706- thonny . plugins . quecpython . backend . os_mp_backend .__file__ ,
706+ os_mp_backend .__file__ ,
707707 repr (
708708 {
709709 "interpreter" : self ._target_executable ,
@@ -829,7 +829,7 @@ def __init__(self, clean):
829829 super ().__init__ (clean )
830830
831831 def _get_launcher_with_args (self ):
832- import thonny . plugins . quecpython .backend . os_mp_backend
832+ from thonnycontrib . quecpython .backend import os_mp_backend
833833
834834 args = {
835835 "cwd" : get_workbench ().get_option (f"{ self .backend_name } .cwd" ) or "" ,
@@ -842,7 +842,7 @@ def _get_launcher_with_args(self):
842842 args .update (self ._get_extra_launcher_args ())
843843
844844 cmd = [
845- thonny . plugins . quecpython . backend . os_mp_backend .__file__ ,
845+ os_mp_backend .__file__ ,
846846 repr (args ),
847847 ]
848848 return cmd
0 commit comments