Browse Source

Use latest trio-gtk API (no nursery)

unifiedWindowUI
Luke Murphy 4 years ago
parent
commit
d680409488
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 6
      dropship.py
  2. 2
      requirements.txt

6
dropship.py

@ -145,9 +145,11 @@ class DropShip:
await trio.run_process(command, stderr=PIPE) await trio.run_process(command, stderr=PIPE)
async def main(nursery): async def main():
"""Trio main entrypoint.""" """Trio main entrypoint."""
DropShip(nursery=nursery) async with trio.open_nursery() as nursery:
DropShip(nursery)
await trio.sleep_forever()
trio_gtk.run(main) trio_gtk.run(main)

2
requirements.txt

@ -1,5 +1,5 @@
PyGObject==3.38.0 PyGObject==3.38.0
PyInstaller==3.6 PyInstaller==3.6
magic-wormhole==0.12.0 magic-wormhole==0.12.0
trio-gtk==0.1.1 trio-gtk==1.0.0
trio==0.17.0 trio==0.17.0

Loading…
Cancel
Save