Set release_gil = True when generating bindings

This commit is contained in:
Sandro Mani 2021-11-03 09:31:16 +01:00 committed by Nyall Dawson
parent 6b4f8e4af6
commit 18d598ba4a
5 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class Qgis3D(PyQtBindings):
super().__init__(project, '3d')
self.sip_file = '3d.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
def apply_user_defaults(self, tool):

View File

@ -37,6 +37,7 @@ class QgisAnalysis(PyQtBindings):
super().__init__(project, 'analysis')
self.sip_file = 'analysis.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
def apply_user_defaults(self, tool):

View File

@ -37,6 +37,7 @@ class QgisCore(PyQtBindings):
super().__init__(project, 'core')
self.sip_file = 'core.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
def apply_user_defaults(self, tool):

View File

@ -37,6 +37,7 @@ class QgisGui(PyQtBindings):
super().__init__(project, 'gui')
self.sip_file = 'gui.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
def apply_user_defaults(self, tool):

View File

@ -37,6 +37,7 @@ class QgisServer(PyQtBindings):
super().__init__(project, 'server')
self.sip_file = 'server.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
def apply_user_defaults(self, tool):