summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/feature_2563-requirements_checker1
-rw-r--r--src/leap/app.py3
2 files changed, 4 insertions, 0 deletions
diff --git a/changes/feature_2563-requirements_checker b/changes/feature_2563-requirements_checker
new file mode 100644
index 00000000..1e7693fc
--- /dev/null
+++ b/changes/feature_2563-requirements_checker
@@ -0,0 +1 @@
+ o Add runtime requirements checker, verifies that the requirements are installed and in its correct versions, closes issue #2563
diff --git a/src/leap/app.py b/src/leap/app.py
index 03552edb..05b54d1f 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -27,6 +27,7 @@ from leap.common.events import server as event_server
from leap.util import __version__ as VERSION
from leap.util import leap_argparse
from leap.util.leap_log_handler import LeapLogHandler
+from leap.util.requirement_checker import check_requirements
from leap.gui import locale_rc
from leap.gui import twisted_main
from leap.gui.mainwindow import MainWindow
@@ -101,6 +102,8 @@ def main():
"one instead.")
sys.exit(1)
+ check_requirements()
+
logger.info('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
logger.info('LEAP client version %s', VERSION)
logger.info('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')