ctools
2.0.0
|
Functions | |
def | get_command_output |
def | csinfo_list_tools |
def | csinfo_setup_check |
def | csinfo_setup_info |
def | get_pkg_config_info |
def | csinfo_print_help |
def | csinfo |
Variables | |
string | CTOOL_LIST |
string | CSCRIPT_LIST |
string | COMSCRIPT_LIST |
def 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().
def 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().
def cscripts.csinfo.csinfo_print_help | ( | ) |
Print help text into console
Definition at line 336 of file csinfo.py.
Referenced by cscripts.csinfo.csinfo().
def cscripts.csinfo.csinfo_setup_check | ( | ) |
Print check information
Definition at line 161 of file csinfo.py.
Referenced by cscripts.csinfo.csinfo().
def 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().
def 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().
def 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().
string cscripts.csinfo.COMSCRIPT_LIST |
string cscripts.csinfo.CTOOL_LIST |