dial_core.utils.initialization module¶
Functions to check that python versions, libraries… used by the program are correct.
-
dial_core.utils.initialization.check_python_version()[source]¶ Check if Python version installed is correct.
Raises: SystemError – If a wrong Python version is installed.
-
dial_core.utils.initialization.get_arg_parser()[source]¶ Return type: ArgumentParserReturns: An argument parser for this application.
-
dial_core.utils.initialization.initialize(args)[source]¶ Performs all the necessary steps before running the application. This checks python version, installed modules, initialize logging system…
Raises: - ImportError – If couldn’t import a necessary module.
- SystemError – If the Python version isn’t compatible.