diff options
author | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-05-31 10:30:07 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-06-03 16:04:45 -0300 |
commit | 4e43431086531370118e310f29d0730256537127 (patch) | |
tree | 0ee9aec9d10a62d5da9723c64992deba1c580155 | |
parent | 8a92157bd4359c3c41bcbcfbbd9f164ef633f205 (diff) |
Integrate checker with app
-rw-r--r-- | changes/feature_2563-requirements_checker | 1 | ||||
-rw-r--r-- | src/leap/app.py | 3 |
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('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~') |