def getVersion():
 with open(os.path.join(REPO_DIR, 'VERSION'), 'r') as versionFile:
  return versionFile.read().strip()

def getVersion ( ) : with open ( os . path . join ( REPO_DIR , 'VERSION' ) , 'r' ) as versionFile : return versionFile . read ( ) . strip ( )
get version from local file .