From 461ffeee3d68b09e10be85536f2457f35287b8a6 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Tue, 26 Mar 2019 09:55:02 -0700 Subject: [PATCH] Add xlib to test_requires for Linux --- setup.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 38ec0571f..f3045b72a 100755 --- a/setup.py +++ b/setup.py @@ -120,7 +120,8 @@ requires = [ 'lxml', 'Mako', 'pymediainfo >= 2.2', - 'PyQt5 >= 5.5', + 'PyQt5 >= 5.12', + 'PyQtWebEngine', 'QtAwesome', 'requests', 'SQLAlchemy >= 0.5', @@ -128,6 +129,12 @@ requires = [ 'WebOb', 'websockets' ] +test_requires = [ + 'nose2', + 'pylint', + 'pyodbc', + 'pysword' +] if sys.platform.startswith('win'): requires.append('pywin32') elif sys.platform.startswith('darwin'): @@ -137,6 +144,8 @@ elif sys.platform.startswith('darwin'): ]) elif sys.platform.startswith('linux'): requires.append('dbus-python') + test_requires.append('xlib') + setup( name='OpenLP', @@ -202,7 +211,7 @@ using a computer and a data projector.""", 'jenkins': ['python-jenkins'], 'launchpad': ['launchpadlib'] }, - tests_require=['nose2', 'pylint', 'pyodbc', 'pysword'], + tests_require=test_requires, test_suite='nose2.collector.collector', entry_points={'gui_scripts': ['openlp = run_openlp:start']} )