python: Release GIL during libsigrok calls.
This commit is contained in:
parent
a25932e08c
commit
cccb599147
|
@ -38,7 +38,7 @@ setup(
|
||||||
ext_modules = [
|
ext_modules = [
|
||||||
Extension('sigrok.core._lowlevel',
|
Extension('sigrok.core._lowlevel',
|
||||||
sources = ['sigrok/core/lowlevel.i'],
|
sources = ['sigrok/core/lowlevel.i'],
|
||||||
swig_opts = sr_includes,
|
swig_opts = ['-threads'] + sr_includes,
|
||||||
include_dirs = [i[2:] for i in sr_includes if i.startswith('-I')],
|
include_dirs = [i[2:] for i in sr_includes if i.startswith('-I')],
|
||||||
library_dirs = [l[2:] for l in sr_libs if l.startswith('-L')],
|
library_dirs = [l[2:] for l in sr_libs if l.startswith('-L')],
|
||||||
libraries = [l[2:] for l in sr_libs if l.startswith('-l')]
|
libraries = [l[2:] for l in sr_libs if l.startswith('-l')]
|
||||||
|
|
Loading…
Reference in New Issue