Generate pep440 compliant version strings from git for python projects