Add methods for accessing the git commit used when compiling

This commit is contained in:
Ray Speth
2017-01-20 22:43:56 -05:00
parent 17c1f9dc14
commit 8e89bbb8d2
12 changed files with 51 additions and 4 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ class TestResult(unittest.TextTestResult):
if __name__ == '__main__':
print('\n* INFO: using Cantera module found at this location:')
print('* ', repr(cantera.__file__), '\n')
print('* ', repr(cantera.__file__))
print('* INFO: Cantera version:', cantera.__version__)
print('* INFO: Git commit:', cantera.__git_commit__, '\n')
sys.stdout.flush()
loader = unittest.TestLoader()