3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-07 06:33:48 +01:00

Merge pull request #63 from krivenko/master

Corrected version.py
This commit is contained in:
Priyanka Seth 2016-06-09 22:39:06 +02:00 committed by GitHub
commit 56c2f95850

View File

@ -21,10 +21,10 @@
version = "@DFT_TOOLS_VERSION@" version = "@DFT_TOOLS_VERSION@"
triqs_hash = "@TRIQS_GIT_HASH@" triqs_hash = "@TRIQS_GIT_HASH@"
cthyb_hash = "@CTHYB_GIT_HASH@" dft_tools_hash = "@DFT_TOOLS_GIT_HASH@"
def show_version(): def show_version():
print "\nYou are using the dft_tools version %s\n"%version print "\nYou are using the dft_tools version %s\n"%version
def show_git_hash(): 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)