--- a/PluginExtensionProtobuf.py Mon Dec 12 16:55:58 2022 +0100 +++ b/PluginExtensionProtobuf.py Tue Dec 20 15:01:13 2022 +0100 @@ -11,9 +11,10 @@ from PyQt6.QtCore import QCoreApplication, QObject, QTranslator -from eric7 import Globals, Preferences +from eric7 import Preferences from eric7.EricWidgets import EricMessageBox from eric7.EricWidgets.EricApplication import ericApp +from eric7.SystemUtilities import OSUtilities, PythonUtilities from ExtensionProtobuf import protoclbr from ExtensionProtobuf.ProjectProtocolsBrowser import ProjectProtocolsBrowser @@ -22,7 +23,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "10.1.0" +version = "10.1.1" className = "ProtobufExtensionPlugin" packageName = "ExtensionProtobuf" shortDescription = "Support for the development of Protobuf and gRPC projects" @@ -67,7 +68,7 @@ else: exe = protobufExtensionPluginObject.getPreferences("protoc") if not exe: - exe = "protoc.exe" if Globals.isWindowsPlatform() else "protoc" + exe = "protoc.exe" if OSUtilities.isWindowsPlatform() else "protoc" protocData = { "programEntry": True, @@ -105,7 +106,7 @@ ericApp().getObject("VirtualEnvManager").getVirtualenvInterpreter(env) ) if not interpreter: - interpreter = Globals.getPythonExecutable() + interpreter = PythonUtilities.getPythonExecutable() grpcData = { "programEntry": True,