def version(self):
        """
        Generate a Unique version value from the git information
        :return:
        """
        git_rev = len(os.popen('git rev-list HEAD').readlines())
        if git_rev != 0:
            self.version_list[-1] = '%d' % git_rev
        version = '.'.join(self.version_list)
        return version
def version ( self ) : git_rev = len ( os . popen ( 'git rev-list HEAD' ) . readlines ( ) ) if git_rev != 0 : self . version_list [ - 1 ] = '%d' % git_rev version = '.' . join ( self . version_list ) return version
Generate a Unique version value from the git information
        :return: