317 splash.showMessage(self.tr("Initializing Basic Services...")) |
317 splash.showMessage(self.tr("Initializing Basic Services...")) |
318 |
318 |
319 # create the remote server interface |
319 # create the remote server interface |
320 logging.debug("Creating 'eric-ide' Server Interface...") |
320 logging.debug("Creating 'eric-ide' Server Interface...") |
321 self.__ericServerInterface = EricServerInterface(self) |
321 self.__ericServerInterface = EricServerInterface(self) |
|
322 # register it early because it is needed very soon |
|
323 ericApp().registerObject("EricServer", self.__ericServerInterface) |
322 |
324 |
323 # Generate the conda interface |
325 # Generate the conda interface |
324 logging.debug("Creating Conda Interface...") |
326 logging.debug("Creating Conda Interface...") |
325 self.condaInterface = Conda(self) |
327 self.condaInterface = Conda(self) |
|
328 # register it early because it is needed very soon |
326 ericApp().registerObject("Conda", self.condaInterface) |
329 ericApp().registerObject("Conda", self.condaInterface) |
327 |
330 |
328 # Generate the pip interface |
331 # Generate the pip interface |
329 logging.debug("Creating Pip Interface...") |
332 logging.debug("Creating Pip Interface...") |
330 self.pipInterface = Pip(self) |
333 self.pipInterface = Pip(self) |
|
334 # register it early because it is needed very soon |
331 ericApp().registerObject("Pip", self.pipInterface) |
335 ericApp().registerObject("Pip", self.pipInterface) |
332 |
336 |
333 # Generate the virtual environment manager |
337 # Generate the virtual environment manager |
334 logging.debug("Creating Virtual Environments Manager...") |
338 logging.debug("Creating Virtual Environments Manager...") |
335 self.virtualenvManager = VirtualenvManager(self) |
339 self.virtualenvManager = VirtualenvManager(self) |
663 ericApp().registerObject("DocuViewer", self.codeDocumentationViewer) |
667 ericApp().registerObject("DocuViewer", self.codeDocumentationViewer) |
664 if self.microPythonWidget is not None: |
668 if self.microPythonWidget is not None: |
665 ericApp().registerObject("MicroPython", self.microPythonWidget) |
669 ericApp().registerObject("MicroPython", self.microPythonWidget) |
666 ericApp().registerObject("JediAssistant", self.jediAssistant) |
670 ericApp().registerObject("JediAssistant", self.jediAssistant) |
667 ericApp().registerObject("PluginRepositoryViewer", self.pluginRepositoryViewer) |
671 ericApp().registerObject("PluginRepositoryViewer", self.pluginRepositoryViewer) |
668 ericApp().registerObject("EricServer", self.__ericServerInterface) |
|
669 |
672 |
670 # create the various JSON file interfaces |
673 # create the various JSON file interfaces |
671 self.__sessionFile = SessionFile(True) |
674 self.__sessionFile = SessionFile(True) |
672 self.__tasksFile = TasksFile(True) |
675 self.__tasksFile = TasksFile(True) |
673 |
676 |