|
ctools 2.1.0
|
Functions | |
| get_command_output (cmd) | |
| csinfo_list_tools () | |
| csinfo_setup_check () | |
| csinfo_setup_info () | |
| get_pkg_config_info (info, library) | |
| csinfo_print_help () | |
| csinfo (argv) | |
Variables | |
| str | CTOOL_LIST |
| str | CSCRIPT_LIST |
| str | COMSCRIPT_LIST |
| cscripts.csinfo.csinfo | ( | argv | ) |
Print information about Gammalib and ctools to the console
Definition at line 355 of file csinfo.py.
References cscripts.csinfo.csinfo_list_tools(), cscripts.csinfo.csinfo_print_help(), cscripts.csinfo.csinfo_setup_check(), and cscripts.csinfo.csinfo_setup_info().
| cscripts.csinfo.csinfo_list_tools | ( | ) |
Print available ctools with one-line description to the console
Definition at line 138 of file csinfo.py.
Referenced by cscripts.csinfo.csinfo().
| cscripts.csinfo.csinfo_print_help | ( | ) |
Print help text into console
Definition at line 336 of file csinfo.py.
Referenced by cscripts.csinfo.csinfo().
| cscripts.csinfo.csinfo_setup_check | ( | ) |
Print check information
Definition at line 161 of file csinfo.py.
Referenced by cscripts.csinfo.csinfo().
| cscripts.csinfo.csinfo_setup_info | ( | ) |
Print setup information
Definition at line 244 of file csinfo.py.
References cscripts.csinfo.get_pkg_config_info().
Referenced by cscripts.csinfo.csinfo().
| cscripts.csinfo.get_command_output | ( | cmd | ) |
Utility function to get command output on old and new Python versions
Parameters
----------
cmd : str
Command string
Returns
-------
output : str
Command output
Definition at line 110 of file csinfo.py.
Referenced by cscripts.csinfo.get_pkg_config_info().
| cscripts.csinfo.get_pkg_config_info | ( | info, | |
| library ) |
Get information from pkg-config
Parameters
----------
info : str
Information to extract
library : str
Library name for which information is to be extracted
Returns
-------
out : str
Information string, 'Not available' if pkg-config is not installed
Definition at line 303 of file csinfo.py.
References cscripts.csinfo.get_command_output().
Referenced by cscripts.csinfo.csinfo_setup_info().
| str cscripts.csinfo.COMSCRIPT_LIST |
| str cscripts.csinfo.CTOOL_LIST |