Use qt5 and trio guest mode
parent
503aa8a64a
commit
bb81d7881c
5
Pipfile
5
Pipfile
|
@ -5,7 +5,8 @@ name = "pypi"
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
e1839a8 = {path = ".",editable = true}
|
e1839a8 = {path = ".",editable = true}
|
||||||
trio = "*"
|
# use master branch for "guest mode"
|
||||||
|
trio = {git = "git://github.com/python-trio/trio.git"}
|
||||||
Cython = "*"
|
Cython = "*"
|
||||||
# use master branch kivy since wheels seem borked (due to cython stuff)
|
# use master branch kivy since wheels seem borked (due to cython stuff)
|
||||||
kivy = {git = "git://github.com/kivy/kivy.git"}
|
kivy = {git = "git://github.com/kivy/kivy.git"}
|
||||||
|
@ -14,8 +15,8 @@ msgpack = "*"
|
||||||
tractor = {git = "git://github.com/goodboy/tractor.git"}
|
tractor = {git = "git://github.com/goodboy/tractor.git"}
|
||||||
toml = "*"
|
toml = "*"
|
||||||
pyqtgraph = "*"
|
pyqtgraph = "*"
|
||||||
pyside2 = "*"
|
|
||||||
qdarkstyle = "*"
|
qdarkstyle = "*"
|
||||||
|
pyqt5 = "*"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
pytest = "*"
|
pytest = "*"
|
||||||
|
|
|
@ -61,10 +61,10 @@ class AsyncCallbackQueue(object):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
async def __anext__(self):
|
async def __anext__(self):
|
||||||
self.event.clear()
|
self.event = async_lib.Event()
|
||||||
while not self.callback_result and not self.quit:
|
while not self.callback_result and not self.quit:
|
||||||
await self.event.wait()
|
await self.event.wait()
|
||||||
self.event.clear()
|
self.event = async_lib.Event()
|
||||||
|
|
||||||
if self.callback_result:
|
if self.callback_result:
|
||||||
return self.callback_result.popleft()
|
return self.callback_result.popleft()
|
||||||
|
|
Loading…
Reference in New Issue