Corrected version.py

This commit is contained in:
Igor Krivenko 2016-06-09 18:11:55 +02:00
parent 224c8d0bf3
commit 4d74db5cdb
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@
version = "@DFT_TOOLS_VERSION@"
triqs_hash = "@TRIQS_GIT_HASH@"
cthyb_hash = "@CTHYB_GIT_HASH@"
dft_tools_hash = "@DFT_TOOLS_GIT_HASH@"
def show_version():
print "\nYou are using the dft_tools version %s\n"%version
def show_git_hash():
print "\nYou are using the dft_tools git hash %s based on triqs git hash %s\n"%(cthyb_hash, triqs_hash)
print "\nYou are using the dft_tools git hash %s based on triqs git hash %s\n"%(dft_tools_hash, triqs_hash)