openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Functions | |
def | run (cmd, env={}) |
def | locale () |
def | svn (directory='.') |
def | git (directory='.') |
def | generate () |
def | print_build_info (filename) |
Variables | |
dictionary | SVN_NAME_MAPPING = {'Révision': 'Revision'} |
string | TEMPLATE |
filename = sys.argv[1] | |
def build_info.generate | ( | ) |
def build_info.git | ( | directory = '.' | ) |
def build_info.locale | ( | ) |
Determine the locale to use in SVN.
Definition at line 43 of file build_info.py.
def build_info.print_build_info | ( | filename | ) |
print build info
Definition at line 191 of file build_info.py.
def build_info.run | ( | cmd, | |
env = {} |
|||
) |
Run a command with subprocess and return the stdout. Avoiding use of subprocess.check_output to maintain backwards compatibility.
Definition at line 29 of file build_info.py.
def build_info.svn | ( | directory = '.' | ) |
Get information about the SVN repository. Uses the --show-item syntax instead of parsing the normal svn info output to avoid issues with language locales.
Definition at line 69 of file build_info.py.
string build_info.filename = sys.argv[1] |
Definition at line 212 of file build_info.py.
dictionary build_info.SVN_NAME_MAPPING = {'Révision': 'Revision'} |
Definition at line 67 of file build_info.py.
string build_info.TEMPLATE |
Definition at line 145 of file build_info.py.