1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Subject: Replace qt-reactor with qt5reactor
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: not-needed
qt-reactor is not available as Debian package and we do not need the
flexibility to support different Qt versions for the package. So we just use
the avialable qt5reactor.
Index: inkcut/inkcut/core/manifest.enaml
===================================================================
--- inkcut.orig/inkcut/core/manifest.enaml
+++ inkcut/inkcut/core/manifest.enaml
@@ -31,8 +31,8 @@ def application_factory():
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
# Install twisted support into the Qt event loop
- import qreactor
- qreactor.install()
+ import qt5reactor
+ qt5reactor.install()
return app
Index: inkcut/requirements.txt
===================================================================
--- inkcut.orig/requirements.txt
+++ inkcut/requirements.txt
@@ -9,7 +9,7 @@ jsonpickle
lxml
faulthandler; python_version < '3.0'
PyQt6; python_version >= '3.0'
-qt-reactor
+qt5reactor
pytest
pytest-coverage
# for pytest-qt:
Index: inkcut/setup.py
===================================================================
--- inkcut.orig/setup.py
+++ inkcut/setup.py
@@ -24,7 +24,7 @@ install_requires = [
'lxml', # use sudo apt install libxml2-dev libxslt-dev
#'PyQt6', # Let users install whatever Qt they want
- 'qt-reactor',
+ 'qt5reactor',
# Python 2:
'faulthandler; python_version < \'3.0\'',
|