Tools for checking a wmt-exe environment.
wmtexe.audit.
audit
(environ)[source]¶Check a wmt-exe environment.
Parameters: | environ : dict
|
---|---|
Returns: | str
|
wmtexe.audit.
check_is_component
(module_name, component, python='python', env=None)[source]¶Check whether the input name is a component.
Parameters: | module_name : str
component : str
python : str, optional
env : dict, optional
|
---|---|
Returns: | str
|
wmtexe.audit.
check_is_dir
(path_to_dir)[source]¶Check whether a path is a directory.
Parameters: | path_to_dir : str
|
---|---|
Returns: | str
|
wmtexe.audit.
check_is_executable
(program)[source]¶Check whether a program is executable.
Parameters: | program : str
|
---|---|
Returns: | str
|
wmtexe.audit.
check_is_module
(module_name, python='python', env=None)[source]¶Check whether the input name is a module.
Parameters: | module_name : str
python : str, optional
env : dict, optional
|
---|---|
Returns: | str
|
wmtexe.audit.
find_components
(python='python', env=None)[source]¶Get a list of components.
Parameters: | python : str, optional
env : dict, optional
|
---|---|
Returns: | list
|
wmtexe.audit.
path_to_python_module
(module_name, python='python', env=None)[source]¶Get the path to the given module.
Parameters: | module_name : str
python : str, optional
env : dict, optional
|
---|---|
Returns: | str
|